From 068c68295cad1967f7aafb4e5e951260ef03d4ce Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 09 七月 2021 09:16:43 +0800
Subject: [PATCH] 状态属性更改,不要轻易合并

---
 HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs
index dd36144..f734dd1 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Music/SendMethod.cs
@@ -219,16 +219,16 @@
             finally
             {
                 #region 鏇存柊鍏朵粬鐣岄潰闊充箰鐘舵��
-                Application.RunOnMainThread(() =>
+                Application.RunOnMainThread((Action)(() =>
                 {
-                    a31MusicModel.trait_on_off.curValue = a31MusicModel.A31PlayStatus.status == "play" ? "on" : "off";
+                    a31MusicModel.trait_on_off.state = a31MusicModel.A31PlayStatus.status == "play" ? "on" : "off";
                     //Console.WriteLine($"music : {a31MusicModel.sid} : {a31MusicModel.on_off}");
                     HomePage.UpdataFunctionStates(a31MusicModel);
                     foreach (var e in A31MusicModel.A31MusicModelList)
                     {
                         RoomPage.UpdataStates(a31MusicModel);
                     }
-                });
+                }));
                 #endregion
             }
         }

--
Gitblit v1.8.0