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.
32 lines
583 B
C++
32 lines
583 B
C++
#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()
|
|
{
|
|
|
|
} |