From f5646b75344aff023817472a5a13f75dbfe05c28 Mon Sep 17 00:00:00 2001
From: tqs <56479841@qq.com>
Date: 星期五, 10 二月 2023 11:00:31 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/thread/SiemensDevpThread.java |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/main/java/com/zy/core/thread/SiemensDevpThread.java b/src/main/java/com/zy/core/thread/SiemensDevpThread.java
index 9a899e7..8f384df 100644
--- a/src/main/java/com/zy/core/thread/SiemensDevpThread.java
+++ b/src/main/java/com/zy/core/thread/SiemensDevpThread.java
@@ -203,18 +203,18 @@
         }
 
         //鏉$爜鎵弿鍣�
-        Thread.sleep(200);
-        OperateResultExOne<byte[]> result2 = null;
-        result2 = siemensS7Net.Read("DB100.200",(short)(barcodeSize*8));
-        if (result2.IsSuccess) {
-            for (int i = 0; i < barcodeSize; i++) {
-                String barcode = siemensS7Net.getByteTransform().TransString(result2.Content,i*8,8, "UTF-8");
-                BarcodeThread barcodeThread = (BarcodeThread) SlaveConnection.get(SlaveType.Barcode, slave.getId() == 1 ? i + 1 : i+ 3);
-                if(!Cools.isEmpty(barcodeThread) && !barcodeThread.getBarcode().equals(barcode)) {
-                    barcodeThread.setBarcode(barcode);
-                }
-            }
-        }
+        //Thread.sleep(200);
+        //OperateResultExOne<byte[]> result2 = null;
+        //result2 = siemensS7Net.Read("DB100.200",(short)(barcodeSize*16));
+        //if (result2.IsSuccess) {
+        //    for (int i = 0; i < barcodeSize; i++) {
+        //        String barcode = siemensS7Net.getByteTransform().TransString(result2.Content,i*16,8, "UTF-8");
+        //        BarcodeThread barcodeThread = (BarcodeThread) SlaveConnection.get(SlaveType.Barcode, slave.getId() == 1 ? i + 1 : i + 3);
+        //        if(!Cools.isEmpty(barcodeThread) && !barcodeThread.getBarcode().equals(barcode)) {
+        //            barcodeThread.setBarcode(barcode);
+        //        }
+        //    }
+        //}
 
 //        //RGV灏忚溅
 //        Thread.sleep(200);

--
Gitblit v1.9.1