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.

19 lines
503 B
C++

#include "StdAfx.h"
#include "CreaterMotorToMachineOrigin.h"
#include "WorkCmdMotorToMachineOrigin.h"
CCreaterMotorToMachineOrigin::CCreaterMotorToMachineOrigin(const CString &str)
:CCreaterWorkCmd(str)
{
}
CCreaterMotorToMachineOrigin::~CCreaterMotorToMachineOrigin(void)
{
}
void CCreaterMotorToMachineOrigin::Creat()
{
CWorkCmd *pCmd = NULL;
//<2F><><EFBFBD><EFBFBD>1 <20><>ʾ<EFBFBD>Ǹ<EFBFBD><C7B8><EFBFBD><EFBFBD><EFBFBD>
CString Motor = GetPar(1);
pCmd = new CWorkCmdMotorToMachineOrigin(*(CMotor::GetMotor(Motor)));
AddCmd(pCmd);
}