|
@ -109,7 +109,7 @@ public class DeviceOpcProtocolRunable implements Runnable { |
|
|
boolean time_out = false; |
|
|
boolean time_out = false; |
|
|
|
|
|
|
|
|
label97: |
|
|
label97: |
|
|
while (true) { |
|
|
while (DeviceOpcSynchronizeAutoRun.isRun) { |
|
|
long begin = System.currentTimeMillis(); |
|
|
long begin = System.currentTimeMillis(); |
|
|
Map<Item, ItemState> itemStatus = group.read(true, (Item[]) itemsMap.values().toArray(new Item[0])); |
|
|
Map<Item, ItemState> itemStatus = group.read(true, (Item[]) itemsMap.values().toArray(new Item[0])); |
|
|
long end = System.currentTimeMillis(); |
|
|
long end = System.currentTimeMillis(); |
|
|