|
|
@ -56,7 +56,7 @@ public class DeviceCommandUtilService { |
|
|
|
DeviceCommandBundle gantryXMoveDeviceCommand = DeviceCommandGenerator.gantryXMove(point.getX()); |
|
|
|
DeviceCommandBundle gantryYMoveDeviceCommand = DeviceCommandGenerator.gantryYMove(point.getY()); |
|
|
|
DeviceCommandBundle gantryZMoveDeviceCommand = DeviceCommandGenerator.gantryZMove(point.getZ()); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandQueue(cmdId, cmdCode, gantryXMoveDeviceCommand, gantryYMoveDeviceCommand, gantryZMoveDeviceCommand); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandGantryQueue(cmdId, cmdCode, gantryXMoveDeviceCommand, gantryYMoveDeviceCommand, gantryZMoveDeviceCommand); |
|
|
|
commandWait(deviceCommandFutureArr); |
|
|
|
} |
|
|
|
|
|
|
@ -73,7 +73,7 @@ public class DeviceCommandUtilService { |
|
|
|
*/ |
|
|
|
public void gantryXMoveOrigin(String cmdId, String cmdCode) throws Exception { |
|
|
|
DeviceCommandBundle deviceCommand = DeviceCommandGenerator.gantryXOrigin(); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandGantryQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
commandWait(deviceCommandFutureArr); |
|
|
|
} |
|
|
|
|
|
|
@ -89,7 +89,7 @@ public class DeviceCommandUtilService { |
|
|
|
*/ |
|
|
|
public void gantryYMoveOrigin(String cmdId, String cmdCode) throws Exception { |
|
|
|
DeviceCommandBundle deviceCommand = DeviceCommandGenerator.gantryYOrigin(); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandGantryQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
commandWait(deviceCommandFutureArr); |
|
|
|
} |
|
|
|
|
|
|
@ -105,7 +105,7 @@ public class DeviceCommandUtilService { |
|
|
|
*/ |
|
|
|
public void gantryZMoveOrigin(String cmdId, String cmdCode) throws Exception { |
|
|
|
DeviceCommandBundle deviceCommand = DeviceCommandGenerator.gantryZOrigin(); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandGantryQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
commandWait(deviceCommandFutureArr); |
|
|
|
} |
|
|
|
|
|
|
@ -121,7 +121,7 @@ public class DeviceCommandUtilService { |
|
|
|
*/ |
|
|
|
public void gantryXMove(String cmdId, String cmdCode, double position) throws Exception { |
|
|
|
DeviceCommandBundle deviceCommand = DeviceCommandGenerator.gantryXMove(position); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandGantryQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
commandWait(deviceCommandFutureArr); |
|
|
|
} |
|
|
|
|
|
|
@ -137,7 +137,7 @@ public class DeviceCommandUtilService { |
|
|
|
*/ |
|
|
|
public void gantryYMove(String cmdId, String cmdCode, double position) throws Exception { |
|
|
|
DeviceCommandBundle deviceCommand = DeviceCommandGenerator.gantryYMove(position); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandGantryQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
commandWait(deviceCommandFutureArr); |
|
|
|
} |
|
|
|
|
|
|
@ -153,7 +153,7 @@ public class DeviceCommandUtilService { |
|
|
|
*/ |
|
|
|
public void gantryZMove(String cmdId, String cmdCode, double position) throws Exception { |
|
|
|
DeviceCommandBundle deviceCommand = DeviceCommandGenerator.gantryZMove(position); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandGantryQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
commandWait(deviceCommandFutureArr); |
|
|
|
} |
|
|
|
|
|
|
@ -169,7 +169,7 @@ public class DeviceCommandUtilService { |
|
|
|
*/ |
|
|
|
public void gantryXMoveBy(String cmdId, String cmdCode, double position) throws Exception { |
|
|
|
DeviceCommandBundle deviceCommand = DeviceCommandGenerator.gantryXMoveBy(position); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandGantryQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
commandWait(deviceCommandFutureArr); |
|
|
|
} |
|
|
|
|
|
|
@ -185,7 +185,7 @@ public class DeviceCommandUtilService { |
|
|
|
*/ |
|
|
|
public void gantryYMoveBy(String cmdId, String cmdCode, double position) throws Exception { |
|
|
|
DeviceCommandBundle deviceCommand = DeviceCommandGenerator.gantryYMoveBy(position); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandGantryQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
commandWait(deviceCommandFutureArr); |
|
|
|
} |
|
|
|
|
|
|
@ -201,7 +201,7 @@ public class DeviceCommandUtilService { |
|
|
|
*/ |
|
|
|
public void gantryZMoveBy(String cmdId, String cmdCode, double position) throws Exception { |
|
|
|
DeviceCommandBundle deviceCommand = DeviceCommandGenerator.gantryZMoveBy(position); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
CommandFuture[] deviceCommandFutureArr = deviceCommandService.sendCommandGantryQueue(cmdId, cmdCode, deviceCommand); |
|
|
|
commandWait(deviceCommandFutureArr); |
|
|
|
} |
|
|
|
|
|
|
|