From 29160efe0f203c5e65dcf4e5a429ced6bde39187 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期二, 29 八月 2023 15:35:24 +0800
Subject: [PATCH] 2023年08月29日15:35:09

---
 HDL_ON/UI/UI2/FuntionControlView/HisenseTV /Send.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/HisenseTV /Send.cs b/HDL_ON/UI/UI2/FuntionControlView/HisenseTV /Send.cs
index 875d3ad..9f0a66a 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/HisenseTV /Send.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/HisenseTV /Send.cs
@@ -43,7 +43,8 @@
             var responsePackNew = UI.Music.SendMethod.Current.RequestServerhomeId(d, NewAPI.Api_Post_UnbindDeviceToHome, "鍒犻櫎娴蜂俊鐢佃");
             if (!this.DataChecking(responsePackNew, tipType))
             {
-                action?.Invoke(false);
+                //action?.Invoke(false);
+                return;
             }
             action?.Invoke(true);
         }
@@ -51,13 +52,13 @@
         /// <summary>
         /// 鍙戦�佹帶鍒跺懡浠�
         /// </summary>
-        /// <param name="function">褰撳墠璁惧</param>
+        /// <param name="device">褰撳墠璁惧</param>
         /// <param name="dic">鍙戦�佹帶鍒舵暟鎹�</param>
-        public void SendControlCommand(Function function, Dictionary<string, string> dic,Action<bool> action)
+        public void SendControlCommand(Function device, Dictionary<string, string> dic,Action<bool> action) 
         {
             new System.Threading.Thread(() =>
             {
-                var result = DriverLayer.Control.Ins.SendWriteCommand(function, dic, false, 0);
+                var result = DriverLayer.Control.Ins.SendWriteCommand(device, dic, false, 0);
                 action?.Invoke(result);
 
             })

--
Gitblit v1.8.0