From 351bdda734832d821a9764b0cde8be5d83c4ec50 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期四, 01 十二月 2022 09:56:25 +0800 Subject: [PATCH] 2022年12月01日09:56:23 --- ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelFangyueEnvironmentTargetForm.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelFangyueEnvironmentTargetForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelFangyueEnvironmentTargetForm.cs index 134412c..506c793 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelFangyueEnvironmentTargetForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelFangyueEnvironmentTargetForm.cs @@ -86,7 +86,7 @@ HdlThreadLogic.Current.RunThread(() => { - var listRoom = Common.Room.CurrentRoom.GetFloorSortRoom(this.nowSelectFloorId, false); + var listRoom = HdlRoomLogic.Current.GetFloorSortRoom(this.nowSelectFloorId, false); var listDataRoom = new List<Common.Room>(); for (int i = 0; i < listRoom.Count; i++) { @@ -120,7 +120,7 @@ private void InitTopRightMenuControl() { //鑾峰彇妤煎眰 - var dicFloor = Common.Room.CurrentRoom.GetFloorSortList(); + var dicFloor = HdlRoomLogic.Current.GetFloorSortList(); if (dicFloor.Count == 0) { return; @@ -288,9 +288,9 @@ //鍏堟竻绌� this.dicShowDevice[room.Id] = new List<CommonDevice>(); - foreach (var deviceUi in room.DeviceUIList) + foreach (var deviceKeys in room.ListDevice) { - var device = deviceUi.CommonDevice; + var device = Common.LocalDevice.Current.GetDevice(deviceKeys); if (device != null) { canShow = true; -- Gitblit v1.8.0