From 3512011e94f013955b7b1e2de8558b8861db86b7 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期一, 30 六月 2025 16:38:05 +0800 Subject: [PATCH] 优化配置文件读取和AGV调度细节 --- util/Settings.cs | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/util/Settings.cs b/util/Settings.cs index 4072f54..796fe32 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,19 @@ 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