25 lines
554 B
C++
25 lines
554 B
C++
#ifndef RMCPOSSWITCHCODE_H
|
|
#define RMCPOSSWITCHCODE_H
|
|
#include<QString>
|
|
|
|
class RMCPosSwitchCode
|
|
{
|
|
public:
|
|
RMCPosSwitchCode();
|
|
QString getCode();
|
|
void setTargetPos(double XPos,double YPos);
|
|
void setZAAxisSafePos(double value);
|
|
void setZAAxisToSafePosVel(double value);
|
|
void setXYAxisVel(double XVel,double YVel);
|
|
|
|
private:
|
|
double XAxisTgPos{0.0};
|
|
double YAxisTgPos{0.0};
|
|
double ZAAxisSafePos{0.0};
|
|
double ZAAxisToSafePosVel{0.0};
|
|
double XAxisVel{0.0};
|
|
double YAxisVel{0.0};
|
|
};
|
|
|
|
#endif // RMCPOSSWITCHCODE_H
|