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.
26 lines
601 B
C++
26 lines
601 B
C++
#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()
|
|
{
|
|
//×ø±ê¹éÁã
|
|
gMotionCard_PCI1245->ResetAllAsixCoord();
|
|
|
|
CDeviceState &DeviceState = CDeviceState::GetInstance();
|
|
DeviceState.SetIniState(true);
|
|
return true;
|
|
}
|
|
void CWorkCmdDeviceParReset::WirteLog()
|
|
{
|
|
CString str1 = _T("[WorkCmd][É豸²ÎÊý¸´Î»]");
|
|
gLogMgr->WriteDebugLog(str1);
|
|
} |