From a5b3c4bae726ef6770d4bfcbf2f4b50a37ed4a15 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 06 三月 2020 15:31:36 +0800 Subject: [PATCH] 删除了郭雪城的 DeviceUi 这个类 --- ZigbeeApp/Shared/Common/SceneRoomUI.cs | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Common/SceneRoomUI.cs b/ZigbeeApp/Shared/Common/SceneRoomUI.cs index f60ab23..b6e5613 100755 --- a/ZigbeeApp/Shared/Common/SceneRoomUI.cs +++ b/ZigbeeApp/Shared/Common/SceneRoomUI.cs @@ -26,15 +26,17 @@ { //閫夋嫨鍦烘櫙--鎵�鏈夋埧闂寸殑鎵�鏈夊満鏅� AllSceneRoomUIList.Clear(); - List<int> sceneIdList = new List<int> { }; - foreach (var r in Shared.Common.Room.Lists) + List<int> sceneIdList = new List<int> { }; + var listAllRoom = Phone.UserCenter.HdlRoomLogic.Current.GetAllListRooms(); + foreach (var r in listAllRoom) { - if (r.SceneUIList.Count == 0) + if (r.ListSceneId.Count == 0) { continue; } - foreach (var scene in r.SceneUIList) + foreach (var sceneId in r.ListSceneId) { + var scene = Phone.UserCenter.HdlSceneLogic.Current.GetSceneUIBySceneId(sceneId); if (scene == null) { continue; -- Gitblit v1.8.0