From 58beee272e47fdbf814e0c8fe625e09c5b844d4d Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 23 十二月 2020 13:38:27 +0800 Subject: [PATCH] Merge branch 'NewFilePath' into CJL --- HDL_ON/DAL/Mqtt/MqttClient.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/HDL_ON/DAL/Mqtt/MqttClient.cs b/HDL_ON/DAL/Mqtt/MqttClient.cs index 1606485..1ecf619 100644 --- a/HDL_ON/DAL/Mqtt/MqttClient.cs +++ b/HDL_ON/DAL/Mqtt/MqttClient.cs @@ -269,6 +269,7 @@ } else { + MainPage.Log($"mqtt data"); SetGatewayOnlineResetCheck(); var bytes = Securitys.EncryptionService.AesDecryptPayload(e.ApplicationMessage.Payload, DB_ResidenceData.Instance.HomeGateway.aesKey); @@ -556,7 +557,12 @@ DisConnectRemoteMqttClient("鎸や笅绾�"); - HDLCommon.Current.CheckLogout(); + Application.RunOnMainThread(() => + { + //寮圭獥鎻愮ず琚尋涓嬬嚎 + HDLCommon.Current.CheckLogout(); + }); + //UserInfo.Current.LastTime = DateTime.MinValue; //UserInfo.Current.SaveUserInfo(); -- Gitblit v1.8.0