From 00aaf49a223be04fc58f6f7c09d95ce4b22ef087 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期五, 11 七月 2025 17:06:18 +0800 Subject: [PATCH] 修复盘点计划单、盘点单的状态更改逻辑 --- util/Settings.cs | 23 +++++++++++++++-------- 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/util/Settings.cs b/util/Settings.cs index 4072f54..ec89eab 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 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