HDL_ON/DAL/DriverLayer/Control.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/DAL/DriverLayer/UdpSocket.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/DAL/Mqtt/MqttClient.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
HDL_ON/DAL/DriverLayer/Control.cs
@@ -285,6 +285,7 @@ } else if (MainPage.InternetStatus == 2) { DAL.Mqtt.MqttClient.InitState(); OpenUdp(DB_ResidenceData.Instance.GatewayType == 0 ? 6000 : 8585); //重置搜索网关标志 IsSearchLocalGatewaySuccessful = false; @@ -311,7 +312,6 @@ System.Threading.Thread.Sleep(500); } DAL.Mqtt.MqttClient.InitState(); }) { IsBackground = true }.Start(); } HDL_ON/DAL/DriverLayer/UdpSocket.cs
@@ -77,7 +77,6 @@ } catch { } busSocket = null; HDL_ON.DriverLayer.Control.Ins.GatewayOnline_Cloud = HDL_ON.DriverLayer.Control.Ins.GatewayOnline_Local = false; MainPage.Log("Socket关闭"); } HDL_ON/DAL/Mqtt/MqttClient.cs
@@ -110,6 +110,7 @@ { MqttInfoConfig.Current.IfGetMqttInfoSuccess = false; } Control.Ins.GatewayOnline_Cloud = Control.Ins.GatewayOnline_Local = false; await DisConnectRemoteMqttClient(s); }