From 681e990f8c3e51672ad1e37440f35d960f9f56c1 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 07 十二月 2022 10:40:58 +0800
Subject: [PATCH] 2022年12月07日10:39:43

---
 HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs
index b0b6876..5a59137 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs
@@ -17,11 +17,17 @@
 
         Action refreshAction;
         SceneFunction sceneFunction;
+
         public SceneFunctionInfoEditPage(Scene s, SceneFunction fc,Action action)
         {
             bodyView = this;
             scene = s;
-            sceneFunction = fc;
+            sceneFunction = fc.localFunction.ConvertSceneFunction();
+            foreach(var ll in sceneFunction.status)
+            {
+                ll.value = fc.status.Find((obj) => obj.key == ll.key).value;
+            }
+            //sceneFunction = fc;
             refreshAction = action;
         }
 

--
Gitblit v1.8.0