From ec074f7a42c10995732739c842e60ed84aedce20 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 20 十一月 2020 18:02:59 +0800 Subject: [PATCH] 2020-11-20 1.更新 --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs index 99ac86f..c02a5f3 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/ResidentialManagePageBLL.cs @@ -1,5 +1,6 @@ 锘縰sing System; using System.Collections.Generic; +using HDL_ON.DAL.Server; using HDL_ON.Entity; using Shared; @@ -42,13 +43,13 @@ { try { - var responsePack = new DAL.Server.HttpServerRequest().EditResidenceInfo(); + var responsePack = new HttpServerRequest().EditResidenceInfo(); - if (responsePack.StateCode.ToUpper() == "SUCCESS") + if (responsePack.StateCode.ToUpper() == StateCode.SUCCESS) { Application.RunOnMainThread(() => { - //MainPage.LoginUser.regionList.Find((obj) => obj.Name == btnResidenceName.Text.Trim()).Name = str; + // UserInfo.Current.regionList.Find((obj) => obj.Name == btnResidenceName.Text.Trim()).Name = str; btnResidenceName.Text = str; upateResidenceName(); }); @@ -112,7 +113,7 @@ DB_ResidenceData.residenceData.residecenInfo.Address = str; var responsePack = new DAL.Server.HttpServerRequest().EditResidenceInfo(); - if (responsePack.StateCode.ToUpper() == "SUCCESS") + if (responsePack.StateCode.ToUpper() == StateCode.SUCCESS) { btnResidenceAddress.Text = str; OnAppConfig.Instance.SaveUserConfig(); @@ -142,7 +143,7 @@ }); } }; - new PublicAssmebly().LoadDialog_EditParater(StringId.ResidenceAddress, DB_ResidenceData.residenceData.residecenInfo.Name, callBack,StringId.HouseAddressCannotBeEmpty,0,new List<string>()); + new PublicAssmebly().LoadDialog_EditParater(StringId.ResidenceAddress, DB_ResidenceData.residenceData.residecenInfo.Name, callBack, StringId.HouseAddressCannotBeEmpty, 0, new List<string>()); }; btnResidenceAddress.MouseUpEventHandler = eventHandler; btnLocationAddressIcon.MouseUpEventHandler = eventHandler; -- Gitblit v1.8.0