From 28af8fe24b23a958d365e40789dcf061e45056ad Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 22 九月 2023 11:25:16 +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