From 25afbc347932821c7b8bc4d9a6a7acb73eb3f969 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期六, 12 十二月 2020 19:32:28 +0800 Subject: [PATCH] 2020-12-12 1.修改退出登录方法。 --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs index 185b8b8..1de6f47 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs @@ -51,7 +51,7 @@ }.Show(bodyView); return; } - foreach (var tempRoom in DB_ResidenceData.residenceData.Rooms) + foreach (var tempRoom in SpatialInfo.CurrentSpatial.RoomList) { if (room.roomName == tempRoom.roomName) { @@ -73,7 +73,7 @@ var delResult = SpatialInfo.CurrentSpatial.DelRoom(room); if (delResult == StateCode.SUCCESS) { - foreach (var f in DB_ResidenceData.functionList.GetAllFunction()) + foreach (var f in FunctionList.List.GetDeviceFunctionList()) { if (f.roomIds.Contains(room.roomId)) { @@ -129,7 +129,7 @@ EventHandler<MouseEventArgs> eventHandler = (sender, e) => { List<string> roomNameList = new List<string>(); - foreach (var rroom in DB_ResidenceData.residenceData.Rooms) + foreach (var rroom in SpatialInfo.CurrentSpatial.RoomList) { roomNameList.Add(rroom.roomName); } @@ -365,7 +365,7 @@ System.IO.File.Delete(imageView.ImagePath); } //閲嶅懡鍚嶄繚瀛� - Common.FileUtlis.Files.WriteFileByBytes(imageUrl, imageBytes); + ImageUtlis.Current.WriteFileByBytes(imageUrl, imageBytes); imageView.ImagePath = null; imageView.ImageBytes = imageBytes; //涓婁紶鎴愬姛 -- Gitblit v1.8.0