#include "StdAfx.h" #include "WorkCmdResetAllMotorErr.h" #include "MotionCard_PCI1245.h" #include "GlobalFunction.h" CWorkCmdResetAllMotorErr::CWorkCmdResetAllMotorErr() { } CWorkCmdResetAllMotorErr::~CWorkCmdResetAllMotorErr(void) { } bool CWorkCmdResetAllMotorErr::Excute() { if(gLogMgr->IsDebuging())//调试状态只延时 { Sleep(gLogMgr->GetDebugCmdDelay()); return true; } Sleep(500); GetFrame()->m_DlgPlatformCtrl.ResetAllMotorErr(); //等待执行结束 Sleep(500); return true; } void CWorkCmdResetAllMotorErr::WirteLog() { }