From 96e9ff2e5a54f54cdbb6b8b2f049fdf6a837de3c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 23 八月 2023 14:28:22 +0800
Subject: [PATCH] 备份1

---
 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