黄学彪
2020-09-01 dee21bf452a8979d0515d13e534fbb69ed9715dd
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