From 59d9f0ad6dc40b079fa1f8f514698429ead04a75 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 17 七月 2023 13:28:22 +0800 Subject: [PATCH] Merge branch 'Dev-Branch' into Dev-Wxr-1.8.1 --- HDL_ON/DAL/Mqtt/MqttClient.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HDL_ON/DAL/Mqtt/MqttClient.cs b/HDL_ON/DAL/Mqtt/MqttClient.cs index b6be181..bf5dd53 100644 --- a/HDL_ON/DAL/Mqtt/MqttClient.cs +++ b/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); } @@ -159,7 +160,7 @@ StartCloudMqtt(); } - static bool isSubscribeSuccess; + public static bool isSubscribeSuccess; /// <summary> /// 璁㈤槄涓婚 /// </summary> @@ -261,8 +262,8 @@ #endregion - Utlis.WriteLine("寮�濮嬭闃咃紒"); - var result = await RemoteMqttClient.SubscribeAsync(new MqttTopicFilter[] { + Utlis.WriteLine("寮�濮嬭闃咃紒"); + var result = await RemoteMqttClient.SubscribeAsync(new MqttTopicFilter[] { pirStatus,pirStudy, appDeviceRefresh,appHomeRefresh,appRoomRefresh,residenceChange, topicFilterPush2, topicAlinkStatus ,mqttkeyChange, -- Gitblit v1.8.0