From e2a009ca812c2f933e195c4276b79c34ed31862a Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期五, 17 十二月 2021 18:29:10 +0800
Subject: [PATCH] 2021-12-17-01

---
 HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
index 0e8f778..ade6e01 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
@@ -214,9 +214,12 @@
 
                             foreach (var m in Music.A31MusicModel.A31MusicModelList)
                             {
-                                if (m.roomIds.Contains(room.roomId))
+                                if (m.functionMusic.roomIds.Contains(room.roomId))
                                 {
-                                    Music.SendMethod.Pause(m);
+                                    m.functionMusic.SetAttrState("on_off", "off");
+                                    Dictionary<string, string> dic = new Dictionary<string, string>();
+                                    dic.Add("on_off", "off");
+                                    Music.SendMethod.sendMethod.SendControlCommand(m.functionMusic, dic);
                                 }
                             }
                         })

--
Gitblit v1.8.0