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/Curtain/MotorCurtainPageBLL.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPageBLL.cs index 40b565c..6e796b2 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Curtain/MotorCurtainPageBLL.cs @@ -86,7 +86,7 @@ curtain.percent = 0; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("on_off", curtain.trait_on_off.value.ToString()); - DriverLayer.Control.ins.SendWriteCommand(curtain, d); + DriverLayer.Control.Ins.SendWriteCommand(curtain, d); }; btnCurtainStop.MouseDownEventHandler = (sender, e) => @@ -103,7 +103,7 @@ curtain.trait_on_off.value = "stop"; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("on_off", curtain.trait_on_off.value.ToString()); - DriverLayer.Control.ins.SendWriteCommand(curtain, d); + DriverLayer.Control.Ins.SendWriteCommand(curtain, d); }; btnCurtainOpen.MouseUpEventHandler = (sender, e) => @@ -115,7 +115,7 @@ curtain.percent = 100; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("on_off", curtain.trait_on_off.value.ToString()); - DriverLayer.Control.ins.SendWriteCommand(curtain, d); + DriverLayer.Control.Ins.SendWriteCommand(curtain, d); }; btnMinusSignIcon.MouseUpEventHandler = (sender, e) => @@ -124,7 +124,7 @@ controlBar.Progress = curtain.percent; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("percent", curtain.percent.ToString()); - DriverLayer.Control.ins.SendWriteCommand(curtain, d); + DriverLayer.Control.Ins.SendWriteCommand(curtain, d); }; btnPlusSgnIcon.MouseUpEventHandler = (sender, e) => @@ -133,7 +133,7 @@ controlBar.Progress = curtain.percent; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("percent", curtain.percent.ToString()); - DriverLayer.Control.ins.SendWriteCommand(curtain, d); + DriverLayer.Control.Ins.SendWriteCommand(curtain, d); }; //curtainSeekBar.OnProgressChangedEvent = (sender, e) => @@ -161,7 +161,7 @@ curtain.refreshTime = DateTime.Now; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("percent", curtain.percent.ToString()); - DriverLayer.Control.ins.SendWriteCommand(curtain, d); + DriverLayer.Control.Ins.SendWriteCommand(curtain, d); }) { IsBackground = true }.Start(); }; @@ -192,7 +192,7 @@ curtain.refreshTime = DateTime.Now; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("percent", curtain.percent.ToString()); - DriverLayer.Control.ins.SendWriteCommand(curtain, d); + DriverLayer.Control.Ins.SendWriteCommand(curtain, d); }) { IsBackground = true }.Start(); }; -- Gitblit v1.8.0