| | |
| | | sceneType = 1, |
| | | cntrCode = traycode, |
| | | })); |
| | | if (str.Contains("true")) |
| | | var strr = JsonConvert.DeserializeObject<Mesrespone>(str); |
| | | if (strr != null && strr.success) |
| | | //if (str.Contains("true")) |
| | | { |
| | | //Conn.é»è®¤Redis.SetValue("ç»´å¸å°æè1.R10", "true", "ç»´å¸å°æè1Queue"); |
| | | tag.wxr1.R10 = true; |
| | | //tag.wxr1.R10 = true; |
| | | Conn.é»è®¤Redis.SetValue(VERX.deviceName + ".R10", "true", VERX.deviceName + "Queue"); |
| | | //tag.wxr1.R44_LAST = false; |
| | | RedisHelper.Add($"ç»´å¸å°æè1.R44_LAST", "false", out string msg); |
| | | } |
| | |
| | | sceneType = 1, |
| | | cntrCode = traycode, |
| | | })); |
| | | if (str.Contains("true")) |
| | | var strr = JsonConvert.DeserializeObject<Mesrespone>(str); |
| | | if (strr != null && strr.success) |
| | | //if (str.Contains("true")) |
| | | { |
| | | //Conn.é»è®¤Redis.SetValue("ç»´å¸å°æè1.R10", "true", "ç»´å¸å°æè1Queue"); |
| | | tag.wxr1.R11 = true; |
| | | //tag.wxr1.R11 = true; |
| | | Conn.é»è®¤Redis.SetValue(VERX.deviceName + ".R11", "true", VERX.deviceName + "Queue"); |
| | | //tag.wxr1.R46_LAST = false; |
| | | RedisHelper.Add($"ç»´å¸å°æè1.R46_LAST", "false", out string msg); |
| | | } |
| | |
| | | sceneType = 1, |
| | | cntrCode = traycode, |
| | | })); |
| | | if (str.Contains("true")) |
| | | var strr = JsonConvert.DeserializeObject<Mesrespone>(str); |
| | | if (strr != null && strr.success) |
| | | //if (str.Contains("true")) |
| | | { |
| | | //Conn.é»è®¤Redis.SetValue("ç»´å¸å°æè1.R10", "true", "ç»´å¸å°æè1Queue"); |
| | | tag.wxr2.R10 = true; |
| | | //tag.wxr2.R10 = true; |
| | | Conn.é»è®¤Redis.SetValue(VERX.deviceName + ".R10", "true", VERX.deviceName + "Queue"); |
| | | //tag.wxr2.R44_LAST = false; |
| | | RedisHelper.Add($"ç»´å¸å°æè2.R44_LAST", "false", out string msg); |
| | | } |
| | |
| | | sceneType = 1, |
| | | cntrCode = traycode, |
| | | })); |
| | | if (str.Contains("true")) |
| | | var strr = JsonConvert.DeserializeObject<Mesrespone>(str); |
| | | if (strr != null && strr.success) |
| | | { |
| | | //Conn.é»è®¤Redis.SetValue("ç»´å¸å°æè1.R10", "true", "ç»´å¸å°æè1Queue"); |
| | | tag.wxr2.R11 = true; |
| | | //Conn.é»è®¤Redis.SetValue("ç»´å¸å°æè1.R11", "true", "ç»´å¸å°æè1Queue"); |
| | | //tag.wxr2.R11 = true; |
| | | |
| | | LogHelper.Info($"Threadwxr2Rãã -åR11 true"); |
| | | Conn.é»è®¤Redis.SetValue(VERX.deviceName + ".R11", "true", VERX.deviceName + "Queue"); |
| | | //tag.wxr2.R46_LAST = false; |
| | | RedisHelper.Add($"ç»´å¸å°æè2.R46_LAST", "false", out string msg); |
| | | LogHelper.Info($"Threadwxr2Rãã æ ¡éªä¸æå®æã"); |
| | | } |
| | | else |
| | | { |
| | |
| | | public Ddata data { get; set; } |
| | | public object extra { get; set; } |
| | | } |
| | | class Mesrespone |
| | | { |
| | | public bool success { get; set; } |
| | | public string msg { get; set; } |
| | | public object extra { get; set; } |
| | | } |
| | | |
| | | public class Ddata |
| | | { |