From 0d327ccb7ef675bfa9f669ba5b3ad6bc6958cbf5 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 27 四月 2021 17:03:51 +0800
Subject: [PATCH] 安防界面

---
 HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs |   15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs
index 6533916..c874702 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs
@@ -27,18 +27,6 @@
             {
                 Action<string> callBack = (str) =>
                 {
-                    if (string.IsNullOrEmpty(str))
-                    {
-                        new Tip()
-                        {
-                            CloseTime = 1,
-                            Text = Language.StringByID(StringId.HouseNameCannotBeEmpty),
-                            Direction = AMPopTipDirection.None,
-                        }.Show(bodyView);
-                        return;
-                    }
-                    //DB_ResidenceData.residenceData.residecenInfo.Name = str;
-
                     var waitPage = new Loading();
                     bodyView.AddChidren(waitPage);
                     waitPage.Start(Language.StringByID(StringId.PleaseWait));
@@ -52,7 +40,6 @@
                             {
                                 Application.RunOnMainThread(() =>
                                 {
-                                    // UserInfo.Current.regionList.Find((obj) => obj.Name == btnResidenceName.Text.Trim()).Name = str;
                                     btnResidenceName.Text = str;
                                     upateResidenceName();
                                 });
@@ -113,7 +100,7 @@
                         IMessageCommon.Current.ShowErrorInfoAlter(responsePack.Code);
                     }
                 };
-                new PublicAssmebly().LoadDialog_EditParater(StringId.ResidenceAddress, DB_ResidenceData.Instance.CurrentRegion.homeName, callBack, StringId.HouseAddressCannotBeEmpty, 0, new List<string>());
+                new PublicAssmebly().LoadDialog_EditParater(StringId.ResidenceAddress, DB_ResidenceData.Instance.CurrentRegion.homeAddress, callBack, StringId.HouseAddressCannotBeEmpty, 0, new List<string>());
             };
             btnResidenceAddress.MouseUpEventHandler = eventHandler;
             btnLocationAddressIcon.MouseUpEventHandler = eventHandler;

--
Gitblit v1.8.0