From bfb3d0d4879dca8c59ff287c92f5113162f3a33a Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期二, 27 八月 2024 15:22:48 +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