From 8ccc71771efec9434ad3b4a45c5f2ec11326d40f Mon Sep 17 00:00:00 2001 From: lss <lsc@hdlchina.com.cn> Date: 星期五, 23 四月 2021 10:25:24 +0800 Subject: [PATCH] 2021-04-23 添加乐橙可视对讲 --- 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