From 62d77d3bb8e7215d9da9ecf6f5aeda0b69f805f8 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 08 十二月 2020 18:57:15 +0800
Subject: [PATCH] 20201208

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
index 57ddfd5..5d72c0e 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
@@ -231,7 +231,7 @@
                     DB_ResidenceData.residenceData.EixtAccount();
                     DB_ResidenceData.residenceData.CurReginID = homeTemp.RegionID;
                     OnAppConfig.Instance.SaveUserConfig();
-                    DB_ResidenceData.InitRoomFunction();
+                    SpatialInfo.CurrentSpatial.InitRoomFunction();
                     DB_ResidenceData.residenceData.SaveResidenceData();
                     //鍒锋柊涓�娆′綇瀹呯綉鍏�
                     new HttpServerRequest().GetHomeGatewayList();
@@ -240,6 +240,9 @@
                     {
                         btnCurResidenceName.Text = DB_ResidenceData.residenceData.residecenInfo.Name;
                     });
+
+                    //鎼滅储缃戝叧
+                    DriverLayer.Control.Ins.SearchLoaclGateway();
                 }
                 catch (Exception ex)
                 {
@@ -256,6 +259,7 @@
                     {
                         waitPage.Hide();
                         waitPage.RemoveFromParent();
+                        MainPage.InitializationData();
                     });
                 }
             })

--
Gitblit v1.8.0