From 6a7573225470b9b3ded17bd32859d57649164157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=87=A4=E5=90=89?= Date: Tue, 15 Jul 2025 14:03:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=AF=8F=E6=AC=A1=E5=96=B7=E6=B6=82?= =?UTF-8?q?=E5=AE=8C=E6=AF=95=E5=A2=9E=E5=8A=A0=E7=AD=89=E5=BE=85=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/qyft/ms/app/device/spray/SprayTaskExecutor.java | 4 ++++ 1 file changed, 4 insertions(+) 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); } } //喷涂完毕