From e826b2ba77a95a0412ae6bb5c8a9c1e37afca291 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期一, 31 三月 2025 15:25:12 +0800
Subject: [PATCH] #

---
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/model/protocol/StaProtocol.java |   27 ++++++++++++++++++++++-----
 1 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/model/protocol/StaProtocol.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/model/protocol/StaProtocol.java
index eb0c913..48f6f21 100644
--- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/model/protocol/StaProtocol.java
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/model/protocol/StaProtocol.java
@@ -21,6 +21,17 @@
     private Short staNo;
 
     // ----------------------------------------------------------------
+
+    //宸插畬鎴愬伐浣滃彿
+    private Short finishWorkNo = 0;
+    //绌洪棽
+    private boolean idle;
+
+    //鏉$爜
+    private String barcode;
+
+    //閲嶉噺
+    private Integer weight;
     // 鑷姩
     private boolean autoing;
 
@@ -100,12 +111,18 @@
     }
 
     public Integer getLocType1() {
-
-        if (this.low) {
-            return 1;//浣�
-        }else {
-            return 2;//楂�
+        if (!this.low  && !this.high){
+            return 0;
         }
+        if (this.low && !this.high) {
+            return 1;
+        }else if (this.high && !this.low) {
+            return 2;
+        }else if (this.high && this.low) {
+            return 2;
+        }
+
+        return 0;
     }
 
 }

--
Gitblit v1.9.1