From 1460cb4a3c4e1ec3e9272b8bf0583d13012578f9 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期四, 28 十月 2021 17:10:55 +0800
Subject: [PATCH] 还原音乐功能

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

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/A31PlayMusicPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/A31PlayMusicPage.cs
index 097d477..d651ae9 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Music/A31PlayMusicPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Music/A31PlayMusicPage.cs
@@ -97,8 +97,6 @@
             ///鍒囨崲鎾斁妯″紡鐐瑰嚮浜嬩欢;
             playView.playOrderBtn.MouseUpEventHandler += (sender, e) =>
              {
-                 //single/single_cycle/order/list_cycle/random
-                 string modeValueString = string.Empty; 
                  string msg = Language.StringByID(StringId.switchTo);
                  switch (A31MusicModel.Current.A31PlayStatus.loop)
                  {
@@ -121,9 +119,8 @@
                          break;
                  }
                  new PublicAssmebly().TipMsgAutoClose(msg, false,1000);
-                 Dictionary<string, string> dic = new Dictionary<string, string>();
-                 dic.Add("mode",modeValueString);
-                 //SendMethod.sendMethod.SendControlCommand(,dic);
+                 string url = "http://" + A31MusicModel.Current.IPAddress + "/httpapi.asp?command=setPlayerCmd:" + "loopmode:" + A31MusicModel.Current.A31PlayStatus.loop;
+                 SendMethod.SendCommand(url);
              };
             ///娣诲姞鍠滅埍鐐瑰嚮浜嬩欢;
             playView.loveBtn.MouseUpEventHandler += (sender, e) =>

--
Gitblit v1.8.0