From 86325cf53601d57fff61b6bf77da9c7d341a9327 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期四, 24 八月 2023 18:15:11 +0800 Subject: [PATCH] 2023年08月24日18:14:58 --- HDL_ON/UI/UI2/FuntionControlView/HisenseTV /Send.cs | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/HisenseTV /Send.cs b/HDL_ON/UI/UI2/FuntionControlView/HisenseTV /Send.cs index 0e5cd5a..28343de 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/HisenseTV /Send.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/HisenseTV /Send.cs @@ -48,6 +48,22 @@ return true; } + /// <summary> + /// 鍙戦�佹帶鍒跺懡浠� + /// </summary> + /// <param name="function">褰撳墠璁惧</param> + /// <param name="dic">鍙戦�佹帶鍒舵暟鎹�</param> + public void SendControlCommand(Function function, Dictionary<string, string> dic,Action<bool> action) + { + new System.Threading.Thread(() => + { + var result = DriverLayer.Control.Ins.SendWriteCommand(function, dic, false, 0); + action?.Invoke(result); + + }) + { IsBackground = true }.Start(); + } + /// <summary> ///璇锋眰鏈嶅姟鍣紙涓庝綇瀹呮湁鍏�:渚嬪锛沨omeId锛� -- Gitblit v1.8.0