wxr
2023-07-13 59e396f6a6a96e7fa2a2986a471fbe577af73191
安卓优化
3个文件已修改
4 ■■■■ 已修改文件
HDL_ON/DAL/DriverLayer/Control.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/DAL/DriverLayer/UdpSocket.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/DAL/Mqtt/MqttClient.cs 1 ●●●● 补丁 | 查看 | 原始文档 | 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);
        }