From 11a007ea36cab03b73ef3b6276337f4a33a36afb Mon Sep 17 00:00:00 2001 From: "USER-20220102CG\\noblelift" <546428999@qq.com> Date: Wed, 22 Nov 2023 13:46:16 +0800 Subject: [PATCH] =?UTF-8?q?rev=20=E4=BF=AE=E6=94=B9=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hailiang_with_station/WithStationDeviceDriver.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/hailiang_old/hailiang_with_station/WithStationDeviceDriver.java b/wcs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/hailiang_old/hailiang_with_station/WithStationDeviceDriver.java index 99acb88f..ccc51a97 100644 --- a/wcs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/hailiang_old/hailiang_with_station/WithStationDeviceDriver.java +++ b/wcs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/hailiang_old/hailiang_with_station/WithStationDeviceDriver.java @@ -187,7 +187,8 @@ public class WithStationDeviceDriver extends AbstractOpcDeviceDriver implements //取关联设备 list 要求:先配置外侧的站点 //遍历 List haiRouDeviceCodeList = this.getExtraDeviceCodes("link_device_code"); - for (int i = 0; i < haiRouDeviceCodeList.size(); i++) { + //只需要判断对接位就可以 + for (int i = 0; i < 1; i++) { Device waiRouDevice = deviceAppservice.findDeviceByCode(haiRouDeviceCodeList.get(i)); HailiangHrSsxDeviceDriver hailiangHrSsxDeviceDriver; HailiangHrSsxDeviceDriver hailiangHrSsxDeviceDriver2;