From 30b5770f56f99c1f92e933ad31cf7d2af58b033c Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 02 十二月 2020 16:31:48 +0800 Subject: [PATCH] 20201202 --- HDL_ON/Entity/FunctionList.cs | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs index 74a3890..cce8348 100644 --- a/HDL_ON/Entity/FunctionList.cs +++ b/HDL_ON/Entity/FunctionList.cs @@ -7,11 +7,6 @@ { public class FunctionList { - public FunctionList() - { - - } - /// <summary> /// 绌鸿皟鍒楄〃 /// </summary> @@ -93,7 +88,6 @@ { var fs = new List<Function>(); fs.AddRange(GetAllDeviceFunctionList()); - fs.AddRange(scenes); return fs; } @@ -102,7 +96,7 @@ /// </summary> public List<Function> GetAllDeviceFunctionList() { - if (deviceFunctionList == null) + //if (deviceFunctionList == null || deviceFunctionList.Count == 0) { deviceFunctionList = new List<Function>(); deviceFunctionList.AddRange(aCs); -- Gitblit v1.8.0