| | |
| | | { |
| | | public static string HostToAgvServerUrl { get; set; } |
| | | public static string HASeverUrl { get; set; } |
| | | public static string SqlServer { get; set; } |
| | | public static string SqlServer { get; set; } |
| | | public static string SqlServer1 { get; set; } |
| | | public static List<ConnectLoc> connectLocList { get; set; } |
| | | public static List<OnLineLoc> onLineLocList { get; set; } |
| | | public static List<CallOutLoc> callOutLocList { get; set; } |
| | | public static List<DeviceConfig> deviceConfigList { get; set; } |
| | | public static int port { get; set; } |
| | | public static string WHCode { get; set; } |
| | | public static string FacCode { get; set; } |
| | | public static string abnormalArea { get; set; } |
| | | public static string stockArea { get; set; } |
| | | |
| | | |
| | |
| | | if (keyValue.Name == "ConnectLoc") { |
| | | connectLocList = JsonConvert.DeserializeObject<List<ConnectLoc>>(keyValue.Value.ToString()); |
| | | } |
| | | if (keyValue.Name == "AbnormalArea") |
| | | if (keyValue.Name == "OnLineLoc") |
| | | { |
| | | abnormalArea = keyValue.Value.ToString(); |
| | | onLineLocList = JsonConvert.DeserializeObject<List<OnLineLoc>>(keyValue.Value.ToString()); |
| | | } |
| | | if (keyValue.Name == "CallOutLoc") |
| | | { |
| | | callOutLocList = JsonConvert.DeserializeObject<List<CallOutLoc>>(keyValue.Value.ToString()); |
| | | } |
| | | if (keyValue.Name == "DeviceConfig") |
| | | { |
| | | deviceConfigList = JsonConvert.DeserializeObject<List<DeviceConfig>>(keyValue.Value.ToString()); |
| | | } |
| | | if (keyValue.Name == "StockArea") |
| | | { |
| | |
| | | |
| | | } |
| | | |
| | | public class DeviceConfig |
| | | { |
| | | public string deviceNo { get; set; } |
| | | public string deviceName { get; set; } |
| | | public int roadway { get; set; } |
| | | } |
| | | |
| | | public class ConnectLoc |
| | | { |
| | | public string locCode { get; set; } |
| | | public int roadway { get; set; } |
| | | } |
| | | |
| | | public class OnLineLoc |
| | | { |
| | | public string locCode { get; set; } |
| | | public int type { get; set; } |
| | | } |
| | | |
| | | |
| | | public class CallOutLoc |
| | | { |
| | | public string locCode { get; set; } |
| | | public int row { get; set; } |
| | | } |
| | | |
| | | } |
| | | } |