From 59e396f6a6a96e7fa2a2986a471fbe577af73191 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 13 七月 2023 17:14:57 +0800 Subject: [PATCH] 安卓优化 --- HDL_ON/DAL/Mqtt/MqttClient.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/HDL_ON/DAL/Mqtt/MqttClient.cs b/HDL_ON/DAL/Mqtt/MqttClient.cs index d5cd85e..a403e13 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); } @@ -683,7 +684,7 @@ } catch (Exception ex) { - Utlis.WriteLine($"error:" + ex.Message); + Utlis.WriteLine($"mqtt杩炴帴寮傚父 error:" + ex.Message); //mqtt杩炴帴寮傚父锛屾竻绌烘湰鍦癿qtt淇℃伅锛屽彲鑳介渶瑕侀噸鏂拌幏鍙栵細wxr MqttInfoConfig.Current.Refresh(); } -- Gitblit v1.8.0