From bff8993501334c4f3c5f902216fe03253be747f8 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期三, 15 四月 2020 16:59:01 +0800
Subject: [PATCH] 合并新代码
---
ZigbeeApp20200414/Shared/Phone/MainPage/ControlForm/DeviceAcDetailCardForm.cs | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/ZigbeeApp20200414/Shared/Phone/MainPage/ControlForm/DeviceAcDetailCardForm.cs b/ZigbeeApp20200414/Shared/Phone/MainPage/ControlForm/DeviceAcDetailCardForm.cs
index 2c67573..9631854 100755
--- a/ZigbeeApp20200414/Shared/Phone/MainPage/ControlForm/DeviceAcDetailCardForm.cs
+++ b/ZigbeeApp20200414/Shared/Phone/MainPage/ControlForm/DeviceAcDetailCardForm.cs
@@ -144,6 +144,7 @@
{
arcScaleSeekBar.SetProgressBarColors(ZigbeeColor.Current.GXCWaveSeekBarUnSelectedColor, ZigbeeColor.Current.GXCWaveSeekBarUnSelectedColor);
}
+
//绌鸿皟鎺т欢閲岄潰鐨勯偅涓樉绀哄埗鐑�,鍒跺喎鐨勬帶浠�
this.btnNowModeView = new NormalViewControl(200, 55, true);
btnNowModeView.Y = Application.GetMinRealAverage(184);
@@ -193,6 +194,16 @@
btnUint.Text = "鈩�";
btnUint.TextSize = 18;
frameAcBack.AddChidren(btnUint);
+
+ //閫侀娌℃湁娓╁害鐨勬蹇�
+ if (deviceAc.currentSystemMode == 7)
+ {
+ //棰滆壊鍙樻洿
+ arcScaleSeekBar.SetProgressBarColors(ZigbeeColor.Current.GXCWaveSeekBarUnSelectedColor, ZigbeeColor.Current.GXCWaveSeekBarUnSelectedColor);
+ arcScaleSeekBar.IsClickable = false;
+ this.btnReduce.CanClick = false;
+ this.btnAdd.CanClick = false;
+ }
//鏄惁鍚敤鎽嗛
int IconSpace = Application.GetRealWidth(156);
@@ -1004,6 +1015,13 @@
arcScaleSeekBar.IsClickable = ACControlBase.IsOpen(deviceAc);
//璁剧疆鐘舵�佹枃瀛� 褰撳墠瀹ゆ俯
this.SetStatuText(deviceAc.currentLocalTemperature + "鈩�");
+ //閫侀娌℃湁娓╁害鐨勬蹇�
+ if (deviceAc.currentSystemMode == 7)
+ {
+ //棰滆壊鍙樻洿
+ arcScaleSeekBar.SetProgressBarColors(ZigbeeColor.Current.GXCWaveSeekBarUnSelectedColor, ZigbeeColor.Current.GXCWaveSeekBarUnSelectedColor);
+ arcScaleSeekBar.IsClickable = false;
+ }
});
//宸茬粡鎺ユ敹鍒扮綉鍏崇殑鍙嶉
return true;
--
Gitblit v1.8.0