From 3532db3610381f37eca1a6ac783d882517847c91 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 31 三月 2021 15:28:49 +0800 Subject: [PATCH] Merge branch 'WJC' into temp-wxr --- HDL_ON/Entity/FunctionList.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs index 3b7972c..d0cb2e8 100644 --- a/HDL_ON/Entity/FunctionList.cs +++ b/HDL_ON/Entity/FunctionList.cs @@ -80,6 +80,17 @@ var spkList = SPK.AirFreshSpkList(); return Functions.FindAll((obj) => spkList.Contains(obj.spk)); } + + /// <summary> + /// 鑳芥簮鍒楄〃 + /// </summary> + /// <returns></returns> + public List<Function> GetEnergyList() + { + var spkList = SPK.EnergySpkList(); + return Functions.FindAll((obj) => spkList.Contains(obj.spk)); + } + #region 瀹剁數鍒楄〃 electricals /// <summary> /// 瀹剁數鍒楄〃 -- Gitblit v1.8.0