Files
newspark110/device/control/acs/buffercode/rmcposswitchcode.h
Chenwenxuan edac2715f0 init
2024-03-06 14:54:30 +08:00

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