From b579fe0be3bd02ec39d612a62b23901fb852c173 Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期六, 16 八月 2025 09:02:12 +0800 Subject: [PATCH] # --- src/main/java/com/zy/core/thread/SiemensDevpThread.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/core/thread/SiemensDevpThread.java b/src/main/java/com/zy/core/thread/SiemensDevpThread.java index 4287199..237f6aa 100644 --- a/src/main/java/com/zy/core/thread/SiemensDevpThread.java +++ b/src/main/java/com/zy/core/thread/SiemensDevpThread.java @@ -59,7 +59,7 @@ }}; public static final ArrayList<Integer> staNos2 = new ArrayList<Integer>() {{ - add(2000);add(2001);add(2002);add(1001);add(1002); + add(2000);add(2001);add(2002);add(1001);add(1002);add(1003);add(1004);add(1005);add(1006);add(1007); }}; @@ -245,6 +245,9 @@ staProtocol.setWeightError(statusError[5]); // 瓒呴噸鎶ヨ staProtocol.setBarcodeError(statusError[6]); // 鎵爜鎶ヨ + short emptyInType = siemensS7Net.getByteTransform().TransInt16(result.Content, (i * 18) + 14);//棰勭暀1-绌烘墭鍏ュ簱绫诲瀷锛�1:绔嬪簱鏂瑰悜 2:浜х嚎鏂瑰悜 + staProtocol.setEmptyInType(emptyInType); + if (!staProtocol.isPakMk() && !staProtocol.isLoading()) { staProtocol.setPakMk(true); } -- Gitblit v1.9.1