黄学彪
2020-09-01 dee21bf452a8979d0515d13e534fbb69ed9715dd
ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs
@@ -92,6 +92,11 @@
                    //保存面板数据
                    this.SavePanelData();
                };
                //如果当前是展示模板,则不能编辑
                if (Common.Config.Instance.Home.IsShowTemplate == true)
                {
                    btnSave.CanClick = false;
                }
            });
        }
@@ -201,6 +206,12 @@
                btnProgressView1.Visible = true;
                btnProgress1.Visible = true;
            }
            //如果当前是展示模板,则不能编辑
            if (Common.Config.Instance.Home.IsShowTemplate == true)
            {
                btnSwitch.CanClick = false;
                seekBar1.Enable = false;
            }
        }
@@ -344,6 +355,12 @@
                    seekBar1.ProgressBarColor = btnColor.BackgroundColor;
                };
            };
            //如果当前是展示模板,则不能编辑
            if (Common.Config.Instance.Home.IsShowTemplate == true)
            {
                frameColor.CanClick = false;
                seekBar1.Enable = false;
            }
        }
        #endregion
@@ -486,6 +503,12 @@
                    seekBar1.ProgressBarColor = btnColor.BackgroundColor;
                };
            };
            //如果当前是展示模板,则不能编辑
            if (Common.Config.Instance.Home.IsShowTemplate == true)
            {
                frameColor.CanClick = false;
                seekBar1.Enable = false;
            }
        }
        #endregion