黄学彪
2020-04-02 9904031f5291daaf56985146bb671f25e18ebbdf
ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLighWithSensorForm.cs
@@ -73,29 +73,31 @@
            //清空bodyFrame
            this.ClearBodyFrame();
            listview = new VerticalScrolViewLayout();
            listview.Height = Application.GetRealHeight(1981 - 184);
            bodyFrameLayout.AddChidren(listview);
            HdlThreadLogic.Current.RunMain(() =>
            {
            {
                listview = new VerticalScrolViewLayout();
                listview.Height = Application.GetRealHeight(1981 - 184);
                bodyFrameLayout.AddChidren(listview);
                //添加节能模式
                this.AddEnergyConservationRow();
                //添加点击前,亮度进度条
                this.AddBeforeClickProgress();
                //添加点击后,亮度进度条
                this.AddAfterClickProgress();
            });
            //容器补充
            FinishInitControl(listview);
            //保存
            var btnSave = new BottomClickButton();
            btnSave.TextID = R.MyInternationalizationString.uSave;
            bodyFrameLayout.AddChidren(btnSave);
            btnSave.ButtonClickEvent += (sender, e) =>
            {
                //保存面板数据
                this.SavePanelData();
            };
                this.FinishInitControl(listview, energyModeInfo.enable);
                //保存
                var btnSave = new BottomClickButton();
                btnSave.TextID = R.MyInternationalizationString.uSave;
                bodyFrameLayout.AddChidren(btnSave);
                btnSave.ButtonClickEvent += (sender, e) =>
                {
                    //保存面板数据
                    this.SavePanelData();
                };
            });
        }
        #endregion