From 0f2e0147e8990e913d16d99bc1b94fb6bc53abd7 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 03 十二月 2020 15:35:42 +0800 Subject: [PATCH] 2020-12-03-1 --- HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs index 5346fda..67ceca9 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs @@ -9,14 +9,14 @@ { FrameLayout bodyView; VerticalScrolViewLayout contentView; - Function scene; + Scene scene; Button lastButton; Action backAction; - public SetSceneLocationPage(Function function, Action action) + public SetSceneLocationPage(Scene s, Action action) { backAction = action; bodyView = this; - scene = function; + scene = s; } public void LoadPage() @@ -67,7 +67,7 @@ Tag = "ChooseIcon" }; roomView.AddChidren(btnChoose); - if(scene.roomIdList.Contains(room.sid)) + if(scene.roomIds.Contains(room.sid)) { btnChoose.IsSelected = true; lastButton = btnChoose; @@ -104,8 +104,8 @@ } lastButton = btn; btn.IsSelected = true; - scene.roomIdList = new System.Collections.Generic.List<string>(); - scene.roomIdList.Add(room.sid); + scene.roomIds = new System.Collections.Generic.List<string>(); + scene.roomIds.Add(room.sid); this.RemoveFromParent(); backAction(); }; -- Gitblit v1.8.0