From 61513acf37a1b97e0b1cf5342ff459c3c6fe83b4 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 26 九月 2023 16:36:39 +0800 Subject: [PATCH] 问题修复 --- OnPro/HDL_ON/Entity/Function/Scene.cs | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/OnPro/HDL_ON/Entity/Function/Scene.cs b/OnPro/HDL_ON/Entity/Function/Scene.cs index df2aa7f..8d6bff1 100644 --- a/OnPro/HDL_ON/Entity/Function/Scene.cs +++ b/OnPro/HDL_ON/Entity/Function/Scene.cs @@ -561,10 +561,7 @@ private Function ConvertFunctionObject() { var localFunction = FunctionList.List.GetDeviceFunctionList().Find((obj) => obj.sid == sid); - if(localFunction == null) - { - localFunction = FunctionList.List.groupControls.Find((obj) => obj.sid == sid); - } + return localFunction; } -- Gitblit v1.8.0