| | |
| | |
|
| | | //刷新个人中心的内存及线程
|
| | | await UserCenterLogic.InitUserCenterMenmoryAndThread(false);
|
| | | HdlRoomLogic.Current.InitAllRoom();
|
| | |
|
| | | //删除住宅
|
| | | Common.House.DeleteHouseByHouseId(deleteId);
|
| | |
| | | /// <param name="longitude">经度</param>
|
| | | /// <param name="addresName">位置名称</param>
|
| | | private async void SaveResidenceAdrress(NormalViewControl btnLocation, double latitude, double longitude, string addresName)
|
| | | {
|
| | | //如果不是虚拟住宅,才更新云端
|
| | | if (Common.Config.Instance.Home.IsVirtually == false)
|
| | | {
|
| | | //开启进度条
|
| | | this.ShowProgressBar();
|
| | |
| | | return;
|
| | | }
|
| | | }
|
| | |
|
| | | //关闭进度条
|
| | | this.CloseProgressBar();
|
| | | }
|
| | |
|
| | | //保存缓存
|
| | | Common.Config.Instance.Home.Longitude = longitude;
|
| | | Common.Config.Instance.Home.Latitude = latitude;
|