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 "WorkCmdResetAllMotorErr.h"
|
|
|
|
|
#include "MotionCard_PCI1245.h"
|
|
|
|
|
#include "GlobalFunction.h"
|
|
|
|
|
|
|
|
|
|
CWorkCmdResetAllMotorErr::CWorkCmdResetAllMotorErr()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
CWorkCmdResetAllMotorErr::~CWorkCmdResetAllMotorErr(void)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool CWorkCmdResetAllMotorErr::Excute()
|
|
|
|
|
{
|
|
|
|
|
if(gLogMgr->IsDebuging())//<2F><><EFBFBD><EFBFBD>״ֻ̬<CCAC><D6BB>ʱ
|
|
|
|
|
{
|
|
|
|
|
Sleep(gLogMgr->GetDebugCmdDelay());
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
Sleep(500);
|
|
|
|
|
GetFrame()->m_DlgPlatformCtrl.ResetAllMotorErr();
|
|
|
|
|
//<2F>ȴ<EFBFBD>ִ<EFBFBD>н<EFBFBD><D0BD><EFBFBD>
|
|
|
|
|
Sleep(500);
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CWorkCmdResetAllMotorErr::WirteLog()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|