From 21736b2944d5e88cd705a39ff87fd73d5a16e609 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期六, 09 五月 2020 11:06:35 +0800 Subject: [PATCH] 安川 --- ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceFreshAirDetailCardForm.cs | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceFreshAirDetailCardForm.cs b/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceFreshAirDetailCardForm.cs index a1a20dd..eb95779 100755 --- a/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceFreshAirDetailCardForm.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceFreshAirDetailCardForm.cs @@ -36,7 +36,6 @@ #endregion - #region 鈻� 鍒濆鍖朹____________________________ public override void InitMiddleFrameAfter(FrameLayout frameWhiteBack) { @@ -129,6 +128,13 @@ this.listControl.Add(btnHighSpeed); btnHighSpeed.ButtonClickEvent += (sender, e) => { + if (FreshAirDev.currentFanMode == 5) + { + var msgContr = new ShowMsgControl(ShowMsgType.Tip, Language.StringByID(R.MyInternationalizationString.AutoModeForbiddenOperate)); + msgContr.Show(); + return; + } + if (!btnHighSpeed.IsSelected) { this.SetFanComand(3); @@ -166,6 +172,12 @@ this.listControl.Add(btnLowSpeed); btnLowSpeed.ButtonClickEvent += (sender, e) => { + if (FreshAirDev.currentFanMode == 5) + { + var msgContr = new ShowMsgControl(ShowMsgType.Tip, Language.StringByID(R.MyInternationalizationString.AutoModeForbiddenOperate)); + msgContr.Show(); + return; + } if (!btnLowSpeed.IsSelected) { this.SetFanComand(1); -- Gitblit v1.8.0