From 23fb45dd846ed8b62304c408c6bbe64265d4ac8b Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 20 十二月 2019 18:57:16 +0800 Subject: [PATCH] 代码合并 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs index eaaeb52..337b878 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs @@ -259,6 +259,11 @@ /// <param name="pra">璇锋眰鐨勫弬鏁�</param> public static bool CheckNotEorrorMsg(ResponsePack revertObj, string RequestName, List<string> listNotShowError = null, object pra = null) { + if (listNotShowError != null && listNotShowError.Contains("NotCheck") == true) + { + //涓嶆娴� + return true; + } if (revertObj == null) { Application.RunOnMainThread(() => @@ -612,8 +617,7 @@ //鍏抽棴鎵�鏈夋帴鏀� HdlGatewayReceiveLogic.Current.RemoveAllEvent(); //娓呴櫎鍗囩骇鍒楄〃 - FirmwareUpdateResourse.dicDeviceUpdateList.Clear(); - FirmwareUpdateResourse.dicGatewayUpdateList.Clear(); + FirmwareUpdateResourse.dicUpdateList.Clear(); HdlThreadLogic.Current.RunThread(async () => { @@ -814,7 +818,7 @@ try { //鏂紑杩滅▼Mqtt杩炴帴 - ZigBee.Device.ZbGateway.DisConnectRemoteMqttClient(); + await ZigBee.Device.ZbGateway.DisConnectRemoteMqttClient(); } catch { } @@ -871,9 +875,6 @@ //鍚屾浜戠鐨勭綉鍏砳d锛屽鏋滄湰鍦版嫢鏈変簯绔笉瀛樺湪鐨刬d锛屽垯琛ㄧず搴旇琚崲缁戜簡锛岀洿鎺ュ垹闄� HdlGatewayLogic.Current.SynchronizeDbGateway(); } - - //鍒濆鍖栦綇瀹呭璞� - Common.Config.Instance.Home = House.GetHouseByHouseId(Common.Config.Instance.HomeId); //鍒濆鍖栨埧闂�(閮洩鍩庨偅杈逛笉鍋氬鐞�,闇�瑕佽繖閲岀壒娈婃墽琛屼竴姝�) Room.RefreshAllRoomByLocation(); -- Gitblit v1.8.0