From 33470790ac0069c7734fb1a5b8b07350950c6dfe Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 24 十一月 2020 15:51:31 +0800 Subject: [PATCH] 20201124,整理mqtt订阅 --- HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs index 2a32554..3492fc3 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs @@ -90,7 +90,7 @@ //Control.Send(CommandType_A.write, aC); System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("temp", temp.ToString()); - Control.ins.SendWriteCommand(aC, d); + Control.Ins.SendWriteCommand(aC, d); }; btnPlus.MouseUpEventHandler = (sender, e) => { @@ -105,7 +105,7 @@ aC.trait_temp.value = temp; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("temp", aC.trait_temp.value.ToString()); - Control.ins.SendWriteCommand(aC, d); + Control.Ins.SendWriteCommand(aC, d); //aC.GetSendJObject }; @@ -116,7 +116,7 @@ //Control.Send(CommandType_A.write, aC); System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("temp", aC.trait_temp.value.ToString()); - Control.ins.SendWriteCommand(aC, d); + Control.Ins.SendWriteCommand(aC, d); }; arcBar.OnProgressChangedEvent = (sender, e) => { @@ -153,7 +153,7 @@ //Control.Send(CommandType_A.write, aC); System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("on_off", aC.trait_on_off.value.ToString()); - Control.ins.SendWriteCommand(aC, d); + Control.Ins.SendWriteCommand(aC, d); }; } @@ -174,7 +174,7 @@ //Control.Send(CommandType_A.write, aC); System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("mode", aC.curModeIndex.ToString()); - Control.ins.SendWriteCommand(aC, d); + Control.Ins.SendWriteCommand(aC, d); dialog.Close(); }; btn1.MouseUpEventHandler = eventHandler1; @@ -198,7 +198,7 @@ //Control.Send(CommandType_A.write, aC); System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("fan", aC.curFanIndex.ToString()); - Control.ins.SendWriteCommand(aC, d); + Control.Ins.SendWriteCommand(aC, d); dialog.Close(); }; btn1.MouseUpEventHandler = eventHandler1; -- Gitblit v1.8.0