From 4820da229822687e472b9d5abb2a09093a877a3a Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期五, 24 九月 2021 13:27:49 +0800 Subject: [PATCH] 更新spk --- 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