From d72ca686a3e262693f8a6e45e747e8e8da43335b Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 06 七月 2021 09:39:03 +0800 Subject: [PATCH] 2021-07-06 1.更新 --- HDL_ON/Entity/FunctionList.cs | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs index a02c9f3..82b8dbe 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> /// 瀹剁數鍒楄〃 @@ -117,6 +128,15 @@ return Functions.FindAll((obj) => spkList.Contains(obj.spk)); } + /// <summary> + /// 鍙瀵硅鍒楄〃,褰撲负null鎴杝ize涓�0鍒欎笉鏄剧ず鍙瀵硅icon + /// </summary> + // public UI.UI2.FuntionControlView.Video.VideoClouds videoIntercom; + public List<UI.UI2.FuntionControlView.Video.Video> videoIntercom = new List<UI.UI2.FuntionControlView.Video.Video>(); + + /// <summary> + /// 鍦烘櫙鍒楄〃 + /// </summary> public List<Scene> scenes = new List<Scene>(); /// <summary> @@ -138,7 +158,6 @@ if (tempFunction == null) { MainPage.Log("null"); - FileUtlis.Files.DeleteFile(filePath); return; } @@ -156,7 +175,6 @@ } } } - MainPage.Log("add"); Functions.Add(tempFunction); } if (filePath.StartsWith("SceneData_")) @@ -260,6 +278,7 @@ List.scenes.Remove(scene); } } + /// <summary> /// 鍒犻櫎鏈湴鍔熻兘鍙婃枃浠� /// </summary> @@ -377,6 +396,7 @@ }) { IsBackground = true }.Start(); } + #region 鍦烘櫙鐩稿叧 /// <summary> /// 娣诲姞鍦烘櫙 -- Gitblit v1.8.0