From b8d7b4fa382f7c779fb9e81a9f049d94a9083fa3 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 16 十一月 2021 18:41:01 +0800 Subject: [PATCH] 2021-11-16-01 --- 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