From 6f89acbf74c6838db518a9f2b6c83f0ab0d97e7f Mon Sep 17 00:00:00 2001
From: 杨张扬 <634643841@qq.com>
Date: 星期二, 29 七月 2025 18:13:31 +0800
Subject: [PATCH] 余料回库流程增加绑定和解绑,RFID校验必须校验开头

---
 api/ApiModel.cs |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 56 insertions(+), 2 deletions(-)

diff --git a/api/ApiModel.cs b/api/ApiModel.cs
index cab31b1..5b3e50f 100644
--- a/api/ApiModel.cs
+++ b/api/ApiModel.cs
@@ -399,6 +399,7 @@
             public string EndLoc { get; set; }//缁堢偣
             public string Spe { get; set; }//瑙勬牸
             public string staff { get; set; } = "None";//鎿嶄綔浜�+            public string shift { get; set; } = "None";//鐝
         }
 
         public class EmptyInStackAreaInfo
@@ -416,6 +417,7 @@
             public string cntID { get; set; }//瀹瑰櫒ID
 
             public string staff { get; set; } = "None";//鎿嶄綔浜�+            public string shift { get; set; } = "None";//鐝
         }
 
         public class SplitOutWarehouseInfo
@@ -429,11 +431,29 @@
         {
             public string old_CntId { get; set; }//鏃у鍣↖D锛岃鎷嗙殑
             public string old_StartLoc { get; set; }//鏃у鍣ㄧ殑璧风偣
-            public int old_IsOK { get; set; }//鏃у鍣↖D锛屾棫瀹瑰櫒鐨勮揣鍝佺殑0鍚堟牸1涓嶅悎鏍�+            /// <summary>
+            /// 0鍚堟牸1寰呮2涓嶅悎鏍硷紝涓嬬嚎鍗冲緟妫�紝3杩囨湡锛�鎶�湳鍒ゅ畾锛�娣峰悎锛�E绾ф枡銆�浜岀骇鏂欍�8鍥炵倝鑳躲�9搴熸枡
+            /// </summary>
+            public int old_IsOK { get; set; }//鏃у鍣↖D锛屾棫瀹瑰櫒鐨勮揣鍝佺殑
+
+            public string old_Spec { get; set; }//鏃у鍣ㄧ殑璐у搧鐨勮鏍�+
+            public string old_CarCode { get; set; }//鏃у鍣ㄧ殑璐у搧鐨勮溅鍙�+
             public string new_CntIds { get; set; }//鎷嗗悗鐨勬柊瀹瑰櫒ID
             public string new_StartLoc { get; set; }//鏂板鍣↖D璧风偣
-            public int new_IsOK { get; set; }//鏂板鍣↖D鐨勮揣鍝佺殑0鍚堟牸1涓嶅悎鏍硷紵
+
+            /// <summary>
+            /// 0鍚堟牸1寰呮2涓嶅悎鏍硷紝涓嬬嚎鍗冲緟妫�紝3杩囨湡锛�鎶�湳鍒ゅ畾锛�娣峰悎锛�E绾ф枡銆�浜岀骇鏂欍�8鍥炵倝鑳躲�9搴熸枡
+            /// </summary>
+            public int new_IsOK { get; set; }//鏂板鍣↖D鐨勮揣鍝佺殑
+
+            public string new_Spec { get; set; }//鏂板鍣ㄧ殑璐у搧鐨勮鏍�+
+            public string new_CarCode { get; set; }//鏂板鍣ㄧ殑璐у搧鐨勮溅鍙�+
             public string staff { get; set; } = "None";//鎿嶄綔浜�+            public string shift { get; set; } = "None";//鐝
         }
 
         public class UpCgDetailModel
@@ -449,7 +469,41 @@
         {
             public string startLoc { get; set; }//璧风偣
             public string endLoc { get; set; }//缁堢偣
+            public int priority { get; set; } = 3;//浼樺厛绾�             public string staff { get; set; } = "None";//鎿嶄綔浜�+            public string shift { get; set; } = "None";//鐝
+        }
+
+        public class EmptyLineToLineInfo
+        {
+            public string startLoc { get; set; }//璧风偣
+
+            public string staff { get; set; } = "None";//鎿嶄綔浜�+        }
+
+        public class EmptyLineToEmptyMaxInfo
+        {
+            public string startLoc { get; set; }//璧风偣
+            public int cntCount { get; set; }//瀹瑰櫒鏁伴噺
+            public string staff { get; set; } = "None";//鎿嶄綔浜�+        }
+
+        public class SurplusBindInfo
+        {
+            public string loc { get; set; }//璐т綅鐐�+
+            public string spec { get; set; }//瑙勬牸
+
+            public float weight { get; set; }//閲嶉噺
+        }
+
+        public class SurplusUnBindInfo
+        {
+            public string loc { get; set; }//璐т綅鐐�+
+            public string spec { get; set; }//瑙勬牸
+
+            public float weight { get; set; }//閲嶉噺
         }
     }
 }

--
Gitblit v1.9.1