kazelee
2025-06-30 3512011e94f013955b7b1e2de8558b8861db86b7
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;
    }
}