黄学彪
2020-12-16 28d269d8aa90eca5470fff825a9b9545135a3ec0
HDL_ON/DAL/Mqtt/MqttClient.cs
@@ -310,11 +310,13 @@
                    if (RemoteMqttClient.ConnectedHandler == null)
                    {
                        RemoteMqttClient.UseConnectedHandler(async (e) => {
                            Control.Ins.GatewayOnline = true;
                            if (DB_ResidenceData.Instance.HomeGateway.GatewayOnline)
                            {
                                Control.Ins.GatewayOnline = true;
                            }
                            IfNeedReadAllDeviceStatus = true;
                            Utlis.WriteLine($"============>Mqtt远程连接成功");
                            SendPushSignOut();
                            //FunctionList.List.ReadAllFunctionStatus();
                        });
                    }
                    #endregion