JLChen
2020-12-16 0e7881aa010ff350d04895a0687ffb7d5ca46168
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