From d18004970b3040ea27beb567694b496a56bedd5b Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 30 七月 2020 10:42:36 +0800
Subject: [PATCH] 2020-07-30-1
---
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