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.
TwoLaserHead-PushJig/LaiPuLaser/CreaterMotorToOffsetPos.cpp

26 lines
512 B
C++

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