From e0c7b6da754b12e0468203d972fed4591464a205 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 02 三月 2021 13:21:38 +0800 Subject: [PATCH] 2021-03-02 1.提交 --- HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs index 11f6b3b..f6bf791 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs @@ -70,6 +70,7 @@ //Control.Send(CommandType_A.write, this.fan); System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("on_off", fan.trait_on_off.curValue.ToString()); + d.Add("fan_speed_percent", fan.openLevel.ToString()); Control.Ins.SendWriteCommand(fan, d); }) { IsBackground = true }.Start(); @@ -84,6 +85,7 @@ //Control.Send(CommandType_A.write, this.fan); System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("on_off", fan.trait_on_off.curValue.ToString()); + d.Add("fan_speed_percent", fan.openLevel.ToString()); Control.Ins.SendWriteCommand(fan, d); }) { IsBackground = true }.Start(); @@ -97,6 +99,7 @@ //Control.Send(CommandType_A.write, this.fan); System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("on_off", fan.trait_on_off.curValue.ToString()); + d.Add("fan_speed_percent", fan.openLevel.ToString()); Control.Ins.SendWriteCommand(fan, d); }) { IsBackground = true }.Start(); -- Gitblit v1.8.0