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.

25 lines
770 B
C++

#pragma once
#include "workcmd.h"
#include "MotionCard_PCI1245.h"
class CWorkCmdSetMotorSpeed :public CWorkCmd
{
public:
CWorkCmdSetMotorSpeed();
~CWorkCmdSetMotorSpeed(void);
virtual bool Excute();
virtual void WirteLog();
void SetSpeedType(ESpeedType t){m_SpeedType = t;};
void SetbSetMotorX(){m_bSetMotorX = true;};
void SetbSetMotorX2(){m_bSetMotorX2 = true;};
void SetbSetMotorY(){m_bSetMotorY = true;};
void SetbSetMotorZ(){m_bSetMotorZ = true;};
private:
ESpeedType m_SpeedType;//ÉèÖÃËٶȵÄÀàÐÍ
bool m_bSetMotorX;//
bool m_bSetMotorX2;//
bool m_bSetMotorY;//
bool m_bSetMotorZ;//
};