|
|
@ -645,7 +645,7 @@ public class MatrixSprayStart implements CommandHandler { |
|
|
|
|
|
|
|
private boolean syringePumpInjectionVolumeSet(ResponseBodyEmitter emitter, String frontCmdId, String frontCmdName, Double speed) throws IOException { |
|
|
|
emitter.send(FrontCommandAck.backstageAck(frontCmdId, frontCmdName, CommandStatus.SEND, "设置注射泵速度,推注射泵"), MediaType.APPLICATION_JSON); |
|
|
|
CMDToDevice syringePumpInjectionVolumeSetCMDToDevice = DeviceCommandGenerator.syringe_pump_injection_speed_set(speed);//推动移动注射泵 |
|
|
|
CMDToDevice syringePumpInjectionVolumeSetCMDToDevice = DeviceCommandGenerator.syringe_pump_forward(speed);//推动移动注射泵 |
|
|
|
CommandFuture syringePumpInjectionVolumeSetCMDToDeviceFuture = new CommandFuture(); |
|
|
|
syringePumpInjectionVolumeSetCMDToDeviceFuture.setCmdToDevice(syringePumpInjectionVolumeSetCMDToDevice); |
|
|
|
Integer syringePumpInjectionVolumeSetCMDToDeviceCmdId = syringePumpInjectionVolumeSetCMDToDevice.getCmdId(); |
|
|
|