diff --git a/src/main/java/com/qyft/ms/system/common/device/command/DeviceCommandGenerator.java b/src/main/java/com/qyft/ms/system/common/device/command/DeviceCommandGenerator.java index d76176f..8941735 100644 --- a/src/main/java/com/qyft/ms/system/common/device/command/DeviceCommandGenerator.java +++ b/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; } } +