From 2ef70d2f759e7763444821b0e3c0ba8381819770 Mon Sep 17 00:00:00 2001 From: ludj Date: Fri, 6 Jan 2023 11:06:22 +0800 Subject: [PATCH] =?UTF-8?q?Opc=E5=90=8C=E6=AD=A5=E7=BA=BF=E7=A8=8B?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/nl/acs/opc/DeviceOpcProtocolRunable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/opc/DeviceOpcProtocolRunable.java b/acs/nladmin-system/src/main/java/org/nl/acs/opc/DeviceOpcProtocolRunable.java index bd67886..a75d8c5 100644 --- a/acs/nladmin-system/src/main/java/org/nl/acs/opc/DeviceOpcProtocolRunable.java +++ b/acs/nladmin-system/src/main/java/org/nl/acs/opc/DeviceOpcProtocolRunable.java @@ -109,7 +109,7 @@ public class DeviceOpcProtocolRunable implements Runnable { boolean time_out = false; label97: - while (true) { + while (DeviceOpcSynchronizeAutoRun.isRun) { long begin = System.currentTimeMillis(); Map itemStatus = group.read(true, (Item[]) itemsMap.values().toArray(new Item[0])); long end = System.currentTimeMillis();