From 59f836bf0eb00b7707c74fe8edb8fa7662c871ab Mon Sep 17 00:00:00 2001
From: lss <Lss@HanInfo>
Date: 星期二, 27 五月 2025 17:22:42 +0800
Subject: [PATCH] 合肥佳通优化

---
 HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs b/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs
index f0ef42d..40e9ca2 100644
--- a/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs
+++ b/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/util/Settings.cs
@@ -20,6 +20,7 @@
         public static List<TableUrl> tableUrls { get; set; }
         public static List<ElevatorLoc> elevatorLoc { get; set; }
         public static List<LocAreabyItem> locAreabyItem { get; set; }
+        public static List<WareLoc> wareLoc { get; set; }
         public static int port { get; set; }
         public static string WHCode { get; set; }
         public static string FacCode { get; set; }
@@ -108,6 +109,10 @@
                             {
                                 locAreabyItem = JsonConvert.DeserializeObject<List<LocAreabyItem>>(keyValue.Value.ToString());
                             }
+                            if (keyValue.Name == "WareLoc")
+                            {
+                                wareLoc = JsonConvert.DeserializeObject<List<WareLoc>>(keyValue.Value.ToString());
+                            }
                         }
                     }
                 }
@@ -125,7 +130,7 @@
             public string address { get; set; }
             public string deviceName { get; set; }
             public string[] deviceNo { get; set; }
-            public string[] TN_Location { get; set; }
+            public string TN_Location { get; set; }
 
             public int deviceType { get; set; }
             public int enable { get; set; }
@@ -166,5 +171,11 @@
             public string AreaCode { get; set; }
             public string[] ItemCode { get; set; }
         }
+        public class WareLoc
+        {
+            public string AreaCode { get; set; }
+            public string PMK { get; set; }
+            public string ZCW { get; set; }
+        }
     }
 }

--
Gitblit v1.9.1