diff --git a/src/main/java/com/qyft/ms/app/device/spray/SprayTaskExecutor.java b/src/main/java/com/qyft/ms/app/device/spray/SprayTaskExecutor.java index 9b08fad..f75fe6b 100644 --- a/src/main/java/com/qyft/ms/app/device/spray/SprayTaskExecutor.java +++ b/src/main/java/com/qyft/ms/app/device/spray/SprayTaskExecutor.java @@ -163,8 +163,12 @@ public class SprayTaskExecutor { DeviceCommand syringePumpStopCommand = DeviceCommandGenerator.syringePumpStop();//停止推动注射泵 CommandFuture syringePumpStopCommandFuture = deviceCommandService.sendCommandSprayTask(sprayTask.getCmdId(), sprayTask.getCmdCode(), syringePumpStopCommand); commandWait(syringePumpStopCommandFuture); + if(sprayTimes.getGridDelay() != null){ + delay(sprayTimes.getGridDelay() * 1000); + } } sprayNum++; + delay(sprayTimes.getDelay() * 1000); } } //喷涂完毕