HDL_ON/DAL/Mqtt/MqttClient.cs
@@ -133,10 +133,6 @@ new System.Threading.Thread(async () => { while (true) { if (!UserInfo.Current.IsLogin) { return; } try { System.Threading.Thread.Sleep(2000); @@ -149,6 +145,7 @@ await StartCloudMqtt(); await SubscribeTopics(); } catch { } } @@ -984,7 +981,7 @@ MqttInfoConfig.Current.mMqttInfo = mqttInfoRequestResult_Obj; await MQTTConnectAsync(); //await MQTTConnectAsync(); //1.判断是否绑定了网关,获取网关远程连接的加密KEY //if (DB_ResidenceData.Instance.CheckWhetherGatewayIsBound()) {