| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using HDL_ON.DAL.Server; |
| | | using HDL_ON.Entity; |
| | | using Shared; |
| | | |
| | |
| | | { |
| | | try |
| | | { |
| | | var responsePack = new DAL.Server.HttpServerRequest().EditResidenceInfo(); |
| | | var responsePack = new HttpServerRequest().EditResidenceInfo(); |
| | | |
| | | if (responsePack.StateCode.ToUpper() == "SUCCESS") |
| | | if (responsePack.StateCode.ToUpper() == HttpUtil.SUCCESS_CODE) |
| | | { |
| | | Application.RunOnMainThread(() => |
| | | { |
| | |
| | | DB_ResidenceData.residenceData.residecenInfo.Address = str; |
| | | var responsePack = new DAL.Server.HttpServerRequest().EditResidenceInfo(); |
| | | |
| | | if (responsePack.StateCode.ToUpper() == "SUCCESS") |
| | | if (responsePack.StateCode.ToUpper() == HttpUtil.SUCCESS_CODE) |
| | | { |
| | | btnResidenceAddress.Text = str; |
| | | OnAppConfig.Instance.SaveUserConfig(); |