From 5de5a26d3825b3182a7d3a18ed1cbdbb78a3f9aa Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 23 七月 2020 16:39:59 +0800 Subject: [PATCH] 2020-07-23 --- HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs index 2fbac4a..578c971 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs @@ -68,7 +68,7 @@ { btnMinus.MouseUpEventHandler = (sender, e) => { - if (aC.curTemp < 20) + if (aC.curTemp < 17) { return; } @@ -122,7 +122,6 @@ }; } - /// <summary> /// 鍔犺浇妯″紡鏀瑰彉浜嬩欢 /// </summary> @@ -135,7 +134,8 @@ EventHandler<MouseEventArgs> eventHandler1 = (sender, e) => { btn1.IsSelected = btn2.IsSelected = true; - aC.curMode = curMode; + aC.trait_mode.curValues = curMode; + btnMode.UnSelectedImagePath = aC.curModeImage; Control.Send(CommandType_A.write, aC); dialog.Close(); }; @@ -144,7 +144,7 @@ dialogView.MouseUpEventHandler = eventHandler; } /// <summary> - /// 鍔犺浇妯″紡鏀瑰彉浜嬩欢 + /// 鍔犺浇椋庨�熸敼鍙樹簨浠� /// </summary> void LoadEvent_ChangeFan(Dialog dialog, FrameLayout dialogView, Button btn1, Button btn2,string curFan) { @@ -155,7 +155,8 @@ EventHandler<MouseEventArgs> eventHandler1 = (sender, e) => { btn1.IsSelected = btn2.IsSelected = true; - aC.curFan = curFan; + aC.trait_fan.curValues = curFan; + btnWindSpeed.UnSelectedImagePath = aC.curFanImage; Control.Send(CommandType_A.write, aC); dialog.Close(); }; -- Gitblit v1.8.0