From ed4d2a10702e49c669f8a64e5508223dc5d4ab77 Mon Sep 17 00:00:00 2001
From: 杨张扬 <634643841@qq.com>
Date: 星期四, 05 六月 2025 17:39:45 +0800
Subject: [PATCH] 修改还剩几天过期字段为字符串

---
 wms/LocationHelper.cs |   33 +++++++++++++++++++++++++++++----
 1 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/wms/LocationHelper.cs b/wms/LocationHelper.cs
index 26c56bb..2c22fba 100644
--- a/wms/LocationHelper.cs
+++ b/wms/LocationHelper.cs
@@ -365,7 +365,6 @@
         /// <summary>
         /// 浜哄伐鎵嬪姩PDA瑙g粦锛氬垹闄よ揣浣�瀹瑰櫒/璐у搧涓夋柟淇℃伅锛�=瑙g粦璐т綅涓庡鍣紝2=瑙g粦瀹瑰櫒涓庤揣鍝�         /// </summary>
-        /// <param name="model"></EmptyUnBind>
         /// <returns></returns>
         internal static SimpleResult PdaUnBind(PdaUnBindInfo model)
         {
@@ -517,6 +516,11 @@
             }
         }
 
+        /// <summary>
+        /// 0鍚堟牸1寰呮2涓嶅悎鏍硷紝涓嬬嚎鍗冲緟妫�紝3杩囨湡锛�鎶�湳鍚堟牸锛�娣峰悎锛�涓�骇鏂欍�7浜岀骇鏂�+        /// </summary>
+        /// <param name="state"></param>
+        /// <returns></returns>
         public static string GetStrByOk(int state)
         {
             if (state == 0)
@@ -530,6 +534,26 @@
             if (state == 2)
             {
                 return "涓嶅悎鏍�;
+            }
+            if (state == 3)
+            {
+                return "杩囨湡";
+            }
+            if (state == 4)
+            {
+                return "鎶�湳鍚堟牸";
+            }
+            if (state == 5)
+            {
+                return "娣峰悎";
+            }
+            if (state == 6)
+            {
+                return "涓�骇鏂�;
+            }
+            if (state == 7)
+            {
+                return "浜岀骇鏂�;
             }
             return "寰呮";
         }
@@ -566,6 +590,7 @@
         public string Spe { get; set; }//瑙勬牸
         public string CarCode { get; set; }//杞﹀彿
         public string staff { get; set; } = "None";//鎿嶄綔浜�+        public string shift { get; set; } = "None";//鐝
     }
 
     public class ErrorLocCntResetInfo
@@ -580,11 +605,12 @@
         public string rfId { get; set; }//瀹瑰櫒鍙� 
         /// <summary>
-        /// 0鍚堟牸1寰呮2涓嶅悎鏍硷紝涓嬬嚎鍗冲緟妫�+        /// 0鍚堟牸1寰呮2涓嶅悎鏍硷紝3杩囨湡锛�鎶�湳鍚堟牸锛�娣峰悎锛�涓�骇鏂欍�7浜岀骇鏂�         /// </summary>
         public int cgState { get; set; }//鐗╂枡鐘舵�
 
         public string staff { get; set; } = "None";//鎿嶄綔浜�+        public string shift { get; set; } = "None";//鐝
     }
 
     public class ShowCntCountBySpeInfo
@@ -598,9 +624,8 @@
     public class PDAReturnResetInfo
     {
         public string rfId { get; set; }//瀹瑰櫒鍙�-
         public string startLoc { get; set; }//璧风偣璐т綅
-
         public string staff { get; set; } = "None";//鎿嶄綔浜�+        public string shift { get; set; } = "None";//鐝
     }
 }

--
Gitblit v1.9.1