Browse Source

fix:设备支持修改参数了

tags/1.0
白凤吉 4 months ago
parent
commit
cd106a9058
  1. 22
      src/main/java/com/qyft/ms/system/common/device/command/DeviceCommandGenerator.java

22
src/main/java/com/qyft/ms/system/common/device/command/DeviceCommandGenerator.java

@ -316,6 +316,27 @@ public class DeviceCommandGenerator {
/**
* 移动x轴到指定位置
*/
public static DeviceCommand motorXPositionSet(Double position) {
return motorXPositionSet(position, null, "移动x轴到指定位置");
}
/**
* 移动y轴到指定位置
*/
public static DeviceCommand motorYPositionSet(Double position) {
return motorYPositionSet(position, null, "移动y轴到指定位置");
}
/**
* 移动z轴到指定位置
*/
public static DeviceCommand motorZPositionSet(Double position) {
return motorZPositionSet(position, null, "移动z轴到指定位置");
}
/**
* 移动x轴到指定位置
*/
public static DeviceCommand motorXPositionSet(Double position, Double speed) {
return motorXPositionSet(position, speed, "移动x轴到指定位置");
}
@ -490,3 +511,4 @@ public class DeviceCommandGenerator {
return cmdToDevice;
}
}
Loading…
Cancel
Save