| | |
| | | using System; |
| | | |
| | | using System; |
| | | using HDL_ON.Entity; |
| | | using HDL_ON.UI.CSS; |
| | | using Shared; |
| | |
| | | { |
| | | continue; |
| | | } |
| | | #if DEBUG |
| | | //throw new ArgumentNullException(); |
| | | #endif |
| | | |
| | | functionListView.AddChidren(new Button() { Height = Application.GetRealHeight(12) }); |
| | | |
| | |
| | | functionListView.AddChidren(functionDiv); |
| | | } |
| | | } |
| | | try |
| | | { |
| | | foreach (var scene in room.GetRoomScenes(false)) |
| | | { |
| | | if (scene == null) |
| | | { |
| | | continue; |
| | | } |
| | | functionListView.AddChidren(new Button() { Height = Application.GetRealHeight(12) }); |
| | | var sceneRow = new FrameLayout() |
| | | { |
| | |
| | | functionListView.AddChidren(sceneRow); |
| | | LoadSceneRow(sceneRow, scene); |
| | | } |
| | | }catch (Exception ex) |
| | | { |
| | | MainPage.Log($"RoomPage LoadPage Error:{ex.Message}"); |
| | | } |
| | | } |
| | | |
| | | |