From dd3fecc3a8b92b377febfcf92d32ec22a07724f6 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期日, 26 九月 2021 15:21:57 +0800
Subject: [PATCH] 主从网关属性,防挤下线账号删除

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

diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs
index 2419c00..aee9ad3 100644
--- a/HDL_ON/Entity/FunctionList.cs
+++ b/HDL_ON/Entity/FunctionList.cs
@@ -415,24 +415,7 @@
                     {
                         foreach (var function in GetDeviceFunctionList(SPK.BrandType.Hdl))
                         {
-                            switch (function.Spk_Prefix)
-                            {
-                                case FunctionCategory.Music:
-                                case FunctionCategory.DryContact:
-                                    continue;
-                            }
-                            DriverLayer.Control.Ins.SendReadCommand(function);
-                            //switch (function.Spk_Prefix)
-                            //{
-                            //    case FunctionCategory.Light:
-                            //    case FunctionCategory.Electric:
-                            //    case FunctionCategory.Curtain:
-                            //    case FunctionCategory.AC:
-                            //    case FunctionCategory.FloorHeat:
-                            //    case FunctionCategory.Sensor:
-                            //        DriverLayer.Control.Ins.SendReadCommand(function);
-                            //        break;
-                            //}
+                            Control.Ins.SendReadCommand(function);
                         }
                         if(DB_ResidenceData.Instance.GatewayType == 1)
                         {

--
Gitblit v1.8.0