| | |
| | | /// <summary> |
| | | /// 推送标识 |
| | | /// </summary> |
| | | static string PushSignStr = DateTime.Now.Ticks.ToString(); |
| | | static string PushSignStr = OnAppConfig.Instance.PushSignStr; |
| | | |
| | | /// <summary> |
| | | /// 断开远程Mqtt的链接 |
| | |
| | | }); |
| | | } |
| | | |
| | | ///// <summary> |
| | | ///// 收到CheckGateway主题 |
| | | ///// </summary> |
| | | //static void ReceiveCheckGateway(string mMes) |
| | | //{ |
| | | // if (!Control.Ins.IsRemote) return; |
| | | |
| | | // Utlis.WriteLine("ReceiveCheckGateway!"); |
| | | |
| | | // //CheckIfNeedReadAllDeviceStatus (); |
| | | |
| | | // //var obj = Newtonsoft.Json.JsonConvert.DeserializeObject<ResponsePack>(mMes); |
| | | // Control.Ins.GatewayOnline = true; |
| | | //} |
| | | |
| | | /// <summary> |
| | | /// 推送挤下线主题 |
| | | /// </summary> |
| | |
| | | { |
| | | case "15626203746": |
| | | case "13580507523": |
| | | case "18475593023": |
| | | return; |
| | | } |
| | | |