From b183905d45e279eca8a845f532fc2d2edd540edb Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期四, 10 七月 2025 17:27:42 +0800
Subject: [PATCH] 重构盘点单表结构,修复部分盘点逻辑

---
 util/Settings.cs |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/util/Settings.cs b/util/Settings.cs
index 4072f54..4585a8a 100644
--- a/util/Settings.cs
+++ b/util/Settings.cs
@@ -49,10 +49,10 @@
 
                 WebApiUrl = root.WebApiUrl;
                 RCSApiUrl = root.RCSApiUrl;
-                NDCApiUrl = root.NDCApiUrl;
+                //NDCApiUrl = root.NDCApiUrl;
                 SqlServer = root.SqlServer;
-                TCPServerIP = root.TCPServerIP;
-                TCPServerPort = root.TCPServerPort;
+                //TCPServerIP = root.TCPServerIP;
+                //TCPServerPort = root.TCPServerPort;
                 //Areas = root.Areas;
                 foreach (var item in root.Areas) {
                     Areas.Add(item.Codes);
@@ -90,10 +90,7 @@
         public class Root {
             public string WebApiUrl { get; set; }
             public string RCSApiUrl { get; set; }
-            public string NDCApiUrl { get; set; }
             public string SqlServer { get; set; }
-            public string TCPServerIP { get; set; }
-            public int TCPServerPort { get; set; }
             public List<Area> Areas { get; set; }
             public List<Snap> Snaps { get; set; }
             public string CaptureUrl { get; set; }
@@ -105,13 +102,23 @@
             public string Name { get; set; }
             public string Pwd { get; set; }
         }
+
+
     }
 
     public class TaskName {
         public const string 浜у搧鍏ュ簱 = "浜у搧鍏ュ簱";
         public const string 浜у搧閮ㄥ垎鍑哄簱 = "浜у搧閮ㄥ垎鍑哄簱";
         public const string 浜у搧閮ㄥ垎鍥炲簱 = "浜у搧閮ㄥ垎鍥炲簱";
+
+        // 澶囩敤锛氱洏鐐圭悊璐у嚭搴擄紙鎭㈠锛�         public const string 鐩樼偣鐞嗚揣鍑哄簱 = "鐩樼偣鐞嗚揣鍑哄簱";
         public const string 鐩樼偣鐞嗚揣鍥炲簱 = "鐩樼偣鐞嗚揣鍥炲簱";
     }
+
+    public class AreaIndex {
+        public const int Q鍙栬揣鍖�= 0;
+        public const int X鍗歌揣鍖�= 1;
+        public const int H璐ф灦鍖�= 2;
+    }
 }

--
Gitblit v1.9.1