From d7ad5a3953a8cd001659092ebde204b881f94b9d Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期四, 31 十月 2019 10:47:13 +0800 Subject: [PATCH] 2019-10-31-1 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs index 7d859aa..6ac2ad1 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/UserCenterLogic.cs @@ -572,11 +572,6 @@ //涓嶈兘鍒犻櫎Config鏂囦欢 return true; } - else if (fileName.StartsWith("DeviceUI_") == true) - { - //涓嶈兘鍒犻櫎璁惧UI鏂囦欢 - return true; - } else if (fileName.StartsWith("House_") == true) { //涓嶈兘鍒犻櫎浣忓畢鏂囦欢 @@ -620,7 +615,6 @@ try { ZigBee.Device.ZbGateway.RemoteMqttClient?.DisconnectAsync(); - ZigBee.Device.ZbGateway.RemoteMqttClient = null; } catch { } @@ -840,6 +834,9 @@ //鍚屾浜戠鐨勭綉鍏砳d锛屽鏋滄湰鍦版嫢鏈変簯绔笉瀛樺湪鐨刬d锛屽垯琛ㄧず搴旇琚崲缁戜簡锛岀洿鎺ュ垹闄� HdlGatewayLogic.Current.SynchronizeDbGateway(); + //鍒濆鍖栦綇瀹呭璞� + Common.Config.Instance.Home = House.GetHouseByHouseId(Common.Config.Instance.HomeId); + //鍒濆鍖栨埧闂�(閮洩鍩庨偅杈逛笉鍋氬鐞�,闇�瑕佽繖閲岀壒娈婃墽琛屼竴姝�) Room.RefreshAllRoomByLocation(); -- Gitblit v1.8.0