You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#include "StdAfx.h"
|
|
|
|
|
#include "WorkCmdDeviceParReset.h"
|
|
|
|
|
#include "PlatformXY.h"
|
|
|
|
|
#include "DeviceState.h"
|
|
|
|
|
|
|
|
|
|
#include "MotionCard_PCI1245.h"
|
|
|
|
|
CWorkCmdDeviceParReset::CWorkCmdDeviceParReset(void)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
CWorkCmdDeviceParReset::~CWorkCmdDeviceParReset(void)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
bool CWorkCmdDeviceParReset::Excute()
|
|
|
|
|
{
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
gMotionCard_PCI1245->ResetAllAsixCoord();
|
|
|
|
|
|
|
|
|
|
CDeviceState &DeviceState = CDeviceState::GetInstance();
|
|
|
|
|
DeviceState.SetIniState(true);
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
void CWorkCmdDeviceParReset::WirteLog()
|
|
|
|
|
{
|
|
|
|
|
CString str1 = _T("[WorkCmd][<5B>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ]");
|
|
|
|
|
gLogMgr->WriteDebugLog(str1);
|
|
|
|
|
}
|