From 0f2e0147e8990e913d16d99bc1b94fb6bc53abd7 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 03 十二月 2020 15:35:42 +0800 Subject: [PATCH] 2020-12-03-1 --- 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