跳到主要内容

NRC_InstrDataMOVJ

指令 MOVJ 的数据类

class NRC_InstrDataMOVJ : public NRC_InstrDataBase
{
public:
NRC_InstrDataMOVJ() : vel(10), acc(10), dec(10), pl(0) {};
NRC_InstrDataMOVJ(int vel, int acc, int dec, const NRC_Position& target, int pl) : vel(vel), acc(acc), dec(dec), target(target), pl(pl) {};
virtual int NRC_GetInstrFromData(InstrData&);
int vel;
int acc;
int dec;
NRC_Position target;
int pl;
};

示例代码