From e322d91c7325019710bfdb046c5fea673031455a Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 29 七月 2020 11:53:01 +0800 Subject: [PATCH] 20200729 --- HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs index 60ec371..694e814 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs @@ -152,7 +152,6 @@ { try { - if (a31MusicModel.ServerClientType == 1) { var result = OpenWeb("http://" + a31MusicModel.IPAddress + "/httpapi.asp?command=multiroom:getSlaveList"); @@ -217,6 +216,18 @@ { Console.WriteLine(ex.Message); } + finally + { + #region 鏇存柊鍏朵粬鐣岄潰闊充箰鐘舵�� + Application.RunOnMainThread(() => + { + a31MusicModel.on_off = a31MusicModel.A31PlayStatus.status == "play" ? "on" : "off"; + Console.WriteLine($"music 88ikgugjghgjkgkjhgkjhgkg {a31MusicModel.on_off}"); + //HomePage. + HomePage.UpdataFunctionStates(a31MusicModel); + }); + #endregion + } } public static string OpenWeb(string url) -- Gitblit v1.8.0