From 88fb6ebbbc3e7899ea5f634ce3c808b624abef1d Mon Sep 17 00:00:00 2001 From: ls <1793460677@qq.com> Date: Wed, 23 Apr 2025 17:43:16 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=EF=BC=9A=20=E6=B5=8B=E8=AF=95=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/nl/start/auto/run/NDCSocketConnectionAutoRun.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acs/hd/nladmin-system/src/main/java/org/nl/start/auto/run/NDCSocketConnectionAutoRun.java b/acs/hd/nladmin-system/src/main/java/org/nl/start/auto/run/NDCSocketConnectionAutoRun.java index 3c214dd..f7f6b28 100644 --- a/acs/hd/nladmin-system/src/main/java/org/nl/start/auto/run/NDCSocketConnectionAutoRun.java +++ b/acs/hd/nladmin-system/src/main/java/org/nl/start/auto/run/NDCSocketConnectionAutoRun.java @@ -403,7 +403,7 @@ public class NDCSocketConnectionAutoRun extends AbstractAutoRunnable { String nextPointCode = inst.getNext_point_code(); Device nextDevice = deviceAppService.findDeviceByCode(nextPointCode); if (nextDevice.getDeviceDriver() instanceof StandardInspectSite2DeviceDriver){ - standardInspectSite2DeviceDriver = (StandardInspectSite2DeviceDriver) device.getDeviceDriver(); + standardInspectSite2DeviceDriver = (StandardInspectSite2DeviceDriver) nextDevice.getDeviceDriver(); standardInspectSite2DeviceDriver.writing(2); } data = AgvService.sendAgvOneModeInst(phase, index, 0);