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/DAL/Mqtt/MqttClient.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/DAL/Mqtt/MqttClient.cs b/HDL_ON/DAL/Mqtt/MqttClient.cs
index 8757db9..87451d5 100644
--- a/HDL_ON/DAL/Mqtt/MqttClient.cs
+++ b/HDL_ON/DAL/Mqtt/MqttClient.cs
@@ -408,7 +408,7 @@
                                             for (int i = 0; i < FunctionList.List.GetDeviceFunctionList().Count;)
                                             {
                                                 var localFunction = FunctionList.List.GetDeviceFunctionList()[i];
-                                                if (localFunction.Spk_Prefix == FunctionCategory.Music || string.IsNullOrEmpty(localFunction.Spk_Prefix))
+                                                if (SPK.MusicSpkList().Contains(localFunction.spk))
                                                 {
                                                     i++;
                                                     continue;

--
Gitblit v1.8.0