From 900a085e5ce1aee2bb60dc5a3b31777805712db2 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期六, 28 八月 2021 10:25:51 +0800
Subject: [PATCH] co2 5000数值显示清新的问题
---
HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs
index dc3836b..6ac07bb 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs
@@ -63,7 +63,11 @@
{
Application.RunOnMainThread(() =>
{
- waitPage.Hide();
+ if (waitPage != null)
+ {
+ waitPage.RemoveFromParent();
+ waitPage = null;
+ }
});
}
})
@@ -72,7 +76,7 @@
new PublicAssmebly().TipOptionMsg(StringId.Tip, StringId.DeleteRoomTip, action);
};
}
-
+
/// <summary>
/// 鏄剧ず鑳屾櫙鍥鹃�夋嫨閫夐」
@@ -105,7 +109,7 @@
}
btnRoomName.Text = str;
room.roomName = str;
- room.SaveRoomData();
+ room.UpdataRoomInfo();
};
EventHandler<MouseEventArgs> eventHandler = (sender, e) =>
{
@@ -131,7 +135,7 @@
Action floorsCallBackAction = () =>
{
btnFloorInfo.Text = room.floorName;
- room.SaveRoomData();
+ room.UpdataRoomInfo();
};
var residentialManagePage = new RoomBinglingFloorPage(floorsCallBackAction, room);
MainPage.BasePageView.AddChidren(residentialManagePage);
@@ -255,7 +259,7 @@
room.backgroundImage = obj;
btnRoomBg.ImageBytes = null;//瑙e喅鏈塈mageBytes涓嶅姞杞絀magePath
btnRoomBg.ImagePath = room.backgroundImage;
- room.SaveRoomData();
+ room.UpdataRoomInfo();
modifyImageAction?.Invoke();
};
@@ -283,7 +287,7 @@
{
//2020-12-03 闇�瑕佽鏈�鏂扮殑鍥剧墖璺緞鍚屾鍒颁簯绔�
room.backgroundImage = imageUrl;
- room.SaveRoomData();
+ room.UpdataRoomInfo();
modifyImageAction?.Invoke();
};
//涓婁紶鍥剧墖鍒颁簯绔�
--
Gitblit v1.8.0