ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs
@@ -96,7 +96,7 @@ /// </summary> /// <param name="residenceId"></param> /// <returns></returns> public void SwitchResidence(string residenceId) public bool SwitchResidence(string residenceId) { //打开进度条 ProgressBar.Show(); @@ -106,10 +106,12 @@ Config.Instance.Home = this.GetHouseByHouseId(residenceId); Config.Instance.Save(); //刷新个人中心的内存及线程 UserCenterLogic.InitUserCenterMenmoryAndThread(false); bool result = UserCenterLogic.InitUserCenterMenmoryAndThread(false); //关闭进度条 ProgressBar.Close(); return result; } #endregion