| | |
| | | |
| | | public static string TmDeviceIp { get; set; } |
| | | |
| | | |
| | | |
| | | //hosttoagv鉴权 |
| | | //public static string AppKey { get; set; } |
| | | //public static string AppSecret { get; set; } |
| | | |
| | | |
| | | public static int TmDevicePort { get; set; } |
| | | |
| | | public static List<safetyLocation> safetyLocations { get; set; } |
| | |
| | | /// </summary> |
| | | public static string MesGetItemApi { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 配置 |
| | | /// </summary> |
| | | public static List<deviceInfo> deviceInfos { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 胎面设备配置 |
| | | /// </summary> |
| | | public static List<TmDeviceInfo> TmDeviceInfos { get; set; } |
| | | |
| | | public static List<areaInfo> areaInfos { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 优先级配置 |
| | | /// </summary> |
| | | public static OutMinutePriority outMinutePriority { get; set; } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// NDC地址 |
| | | /// </summary> |
| | | public static string NDCApiUrl { get; set; } |
| | | |
| | | |
| | |
| | | { |
| | | EmptyPalletBufferArea = keyValue.Value.ToString(); |
| | | } |
| | | |
| | | |
| | | //hosttoagv鉴权 |
| | | //if (keyValue.Name == "AppKey") |
| | | //{ |
| | | // AppKey = keyValue.Value.ToString(); |
| | | //} |
| | | //if (keyValue.Name == "AppSecret") |
| | | //{ |
| | | // AppSecret = keyValue.Value.ToString(); |
| | | //} |
| | | |
| | | if (keyValue.Name == "SafetyLocation") |
| | | { |
| | |
| | | { |
| | | TmDeviceInfos = JsonConvert.DeserializeObject<List<TmDeviceInfo>>(keyValue.Value.ToString()); |
| | | } |
| | | |
| | | if (keyValue.Name == "OutMinutePriority") |
| | | { |
| | | outMinutePriority = JsonConvert.DeserializeObject<OutMinutePriority> (keyValue.Value.ToString()); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | //if (keyValue.Name == "DeviceInfo") |
| | | //{ |
| | | // deviceInfos = JsonConvert.DeserializeObject<List<deviceInfo>>(keyValue.Value.ToString()); |
| | |
| | | |
| | | } |
| | | |
| | | |
| | | // "OutMinutePriority": { |
| | | // "Minute": 10, |
| | | // "Priority": 1 |
| | | //}, |
| | | |
| | | |
| | | public class OutMinutePriority |
| | | { |
| | | public int Minute { get; set; } |
| | | public int Priority { get; set; } |
| | | } |
| | | |
| | | public class TmDeviceInfo |
| | | { |
| | | public string deviceName { get; set; } |