From ec8c4e511c84c33bc6475834c29f774c4c4af74d Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 05 八月 2020 16:22:40 +0800 Subject: [PATCH] 2020-08-05-1 --- HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs index 084b6b3..655f9a7 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs @@ -218,13 +218,19 @@ } finally { - #region 鏇存柊鍏朵粬鐣岄潰闊充箰鐘舵�� + #region 鏇存柊鍏朵粬鐣岄潰闊充箰鐘舵�� Application.RunOnMainThread(() => { + //绉�妗″姞鐨� a31MusicModel.on_off = a31MusicModel.A31PlayStatus.status == "play" ? "on" : "off"; - Console.WriteLine($"music 88ikgugjghgjkgkjhgkjhgkg {a31MusicModel.on_off}"); + Console.WriteLine($"music : {a31MusicModel.sid} : {a31MusicModel.on_off}"); //HomePage. HomePage.UpdataFunctionStates(a31MusicModel); + foreach (var e in A31MusicModel.A31MusicModelList) + { + //if() + RoomPage.UpdataStates(a31MusicModel); + } }); #endregion } @@ -786,9 +792,9 @@ byte[] recevieBytes = webClient.UploadData(new Uri("http://" + ip + ":" + port + "/upnp/control/PlayQueue1"), "POST", System.Text.Encoding.UTF8.GetBytes(listInfo)); var s = System.Text.Encoding.UTF8.GetString(recevieBytes, 0, recevieBytes.Length); } - catch + catch(Exception e) { - + var d = e.Message; } } -- Gitblit v1.8.0