From 05adbc074259c66c7dd62bc9d9d60aadbb86df2d Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 02 四月 2021 14:02:28 +0800
Subject: [PATCH] 2021-04-02 1.获取功能介绍增加英文适配

---
 HDL_ON/Entity/FunctionList.cs |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs
index a02c9f3..5725ed5 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,14 @@
             return Functions.FindAll((obj) => spkList.Contains(obj.spk));
         }
 
+        /// <summary>
+        /// 鍙瀵硅鍒楄〃
+        /// </summary>
+        public UI.UI2.FuntionControlView.Video.VideoClouds videoIntercom;
+
+        /// <summary>
+        /// 鍦烘櫙鍒楄〃
+        /// </summary>
         public List<Scene> scenes = new List<Scene>();
 
         /// <summary>
@@ -138,7 +157,6 @@
                 if (tempFunction == null)
                 {
                     MainPage.Log("null");
-
                     FileUtlis.Files.DeleteFile(filePath);
                     return;
                 }
@@ -156,7 +174,6 @@
                         }
                     }
                 }
-                    MainPage.Log("add");
                 Functions.Add(tempFunction);
             }
             if (filePath.StartsWith("SceneData_"))

--
Gitblit v1.8.0