init
This commit is contained in:
24
device/control/acs/buffercode/ptpcode.h
Normal file
24
device/control/acs/buffercode/ptpcode.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef PTPCODE_H
|
||||
#define PTPCODE_H
|
||||
#include<QString>
|
||||
|
||||
class PTPCode
|
||||
{
|
||||
public:
|
||||
explicit PTPCode();
|
||||
QString getCode();
|
||||
void setMoveType(bool value);
|
||||
void setTargetPos(QString value);
|
||||
void setMoveAxis(QString value);
|
||||
private:
|
||||
QString getMoveCMDText();
|
||||
|
||||
private:
|
||||
QString RMove{"PTP/ER"};
|
||||
QString ABSMove{"PTP/E"};
|
||||
QString moveAxis{""};
|
||||
QString targetPos{""};
|
||||
bool moveType{false};
|
||||
};
|
||||
|
||||
#endif // PTPCODE_H
|
||||
Reference in New Issue
Block a user