From 418b0d0a4002bc06ba3a55d1809fe46043f06c09 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 26 九月 2022 14:07:58 +0800 Subject: [PATCH] 光伏更新,金茂科技系统更新 --- HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs index 6795a57..6043907 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs @@ -468,7 +468,7 @@ EventHandler<MouseEventArgs> skipEvent= (sender, e) => { - var ssf = new SceneFunctionInfoEditPage(scene, scenefunction, refreshFunctionRowAction); + var ssf = new SceneFunctionInfoEditPage(scene, scenefunction.localFunction.ConvertSceneFunction(), refreshFunctionRowAction); MainPage.BasePageView.AddChidren(ssf); ssf.LoadPage(); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; @@ -532,12 +532,17 @@ var briState = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Brightness); if (briState != null) { - sceneFunctionInfo += briState.value + "%"; + sceneFunctionInfo += " " + briState.value + "%"; } var perState = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Percent); if (perState != null) { - sceneFunctionInfo += perState.value + "%"; + sceneFunctionInfo += " " + perState.value + "%"; + } + var perAngle = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Angle); + if (perAngle != null) + { + sceneFunctionInfo += " "+ perState.value + "掳"; } return sceneFunctionInfo; -- Gitblit v1.8.0