From dee21bf452a8979d0515d13e534fbb69ed9715dd Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期二, 01 九月 2020 15:33:13 +0800 Subject: [PATCH] 上传一个版本 --- ZigbeeApp/Shared/Phone/UserCenter/Device/Relay/RelayThreeLoadBackLightSettionForm.cs | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Relay/RelayThreeLoadBackLightSettionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Relay/RelayThreeLoadBackLightSettionForm.cs index 3b8d198..1207a80 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Relay/RelayThreeLoadBackLightSettionForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Relay/RelayThreeLoadBackLightSettionForm.cs @@ -14,10 +14,6 @@ #region 鈻� 鍙橀噺澹版槑___________________________ /// <summary> - /// 璁惧Mac鍦板潃 - /// </summary> - private string deviceMac = string.Empty; - /// <summary> /// 浜害璋冭妭鐨勪俊鎭� /// </summary> private Panel.PanelSwitchLevelInfo linghtLevelInfo = null; @@ -45,7 +41,6 @@ { this.ScrollEnabled = false; - this.deviceMac = i_deviceMac; this.listDevice = Common.LocalDevice.Current.GetDevicesByMac(i_deviceMac); //璁剧疆澶撮儴淇℃伅 @@ -235,6 +230,12 @@ btnProgressView1.Visible = true; btnProgress1.Visible = true; } + //濡傛灉褰撳墠鏄睍绀烘ā鏉� + if (Common.Config.Instance.Home.IsShowTemplate == true) + { + seekBar1.Enable = false; + btnSwitch.CanClick = false; + } } #endregion @@ -299,6 +300,12 @@ btnLine.Gravity = Gravity.CenterHorizontal; btnLine.BackgroundColor = UserCenterColor.Current.ButtomLine; frameLinght.AddChidren(btnLine); + + //濡傛灉褰撳墠鏄睍绀烘ā鏉� + if (Common.Config.Instance.Home.IsShowTemplate == true) + { + seekBar1.Enable = false; + } } #endregion @@ -363,6 +370,12 @@ btnLine.Y = Application.GetRealHeight(651); btnLine.BackgroundColor = UserCenterColor.Current.ButtomLine; frameLinght.AddChidren(btnLine); + + //濡傛灉褰撳墠鏄睍绀烘ā鏉� + if (Common.Config.Instance.Home.IsShowTemplate == true) + { + seekBar1.Enable = false; + } } #endregion -- Gitblit v1.8.0