|
@ -316,6 +316,27 @@ public class DeviceCommandGenerator { |
|
|
/** |
|
|
/** |
|
|
* 移动x轴到指定位置 |
|
|
* 移动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) { |
|
|
public static DeviceCommand motorXPositionSet(Double position, Double speed) { |
|
|
return motorXPositionSet(position, speed, "移动x轴到指定位置"); |
|
|
return motorXPositionSet(position, speed, "移动x轴到指定位置"); |
|
|
} |
|
|
} |
|
@ -490,3 +511,4 @@ public class DeviceCommandGenerator { |
|
|
return cmdToDevice; |
|
|
return cmdToDevice; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|