| | |
| | | |
| | | 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); |
| | |
| | | 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; } |
| | |
| | | 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; |
| | | } |
| | | } |