From cbeff29a3261cb13ed3c5aada8bbd9cc4c1fee72 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期二, 22 七月 2025 09:57:48 +0800 Subject: [PATCH] #空托盘程序 --- src/main/java/com/zy/core/thread/SiemensDevpThread.java | 3 +++ 1 files changed, 3 insertions(+), 0 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..426c6e9 100644 --- a/src/main/java/com/zy/core/thread/SiemensDevpThread.java +++ b/src/main/java/com/zy/core/thread/SiemensDevpThread.java @@ -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