Browse Source

feat:每次喷涂完毕增加等待时间

master
白凤吉 3 weeks ago
parent
commit
6a75732254
  1. 4
      src/main/java/com/qyft/ms/app/device/spray/SprayTaskExecutor.java

4
src/main/java/com/qyft/ms/app/device/spray/SprayTaskExecutor.java

@ -163,8 +163,12 @@ public class SprayTaskExecutor {
DeviceCommand syringePumpStopCommand = DeviceCommandGenerator.syringePumpStop();//停止推动注射泵 DeviceCommand syringePumpStopCommand = DeviceCommandGenerator.syringePumpStop();//停止推动注射泵
CommandFuture syringePumpStopCommandFuture = deviceCommandService.sendCommandSprayTask(sprayTask.getCmdId(), sprayTask.getCmdCode(), syringePumpStopCommand); CommandFuture syringePumpStopCommandFuture = deviceCommandService.sendCommandSprayTask(sprayTask.getCmdId(), sprayTask.getCmdCode(), syringePumpStopCommand);
commandWait(syringePumpStopCommandFuture); commandWait(syringePumpStopCommandFuture);
if(sprayTimes.getGridDelay() != null){
delay(sprayTimes.getGridDelay() * 1000);
}
} }
sprayNum++; sprayNum++;
delay(sprayTimes.getDelay() * 1000);
} }
} }
//喷涂完毕 //喷涂完毕

Loading…
Cancel
Save