黄学彪
2020-07-06 f23ad1b3f9f6193f35f72104d690b21dc67d5c1f
ZigbeeApp/Shared/Phone/Device/Logic/Nightlight.cs
@@ -22,7 +22,7 @@
            this.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor;
            TopView view = new TopView();
            this.AddChidren(view.TopRowView());
            view.toptitleNameBtn.Text = Name;
            view.toptitleNameBtn.Text = LocalDevice.Current.GetDeviceEpointName(common);
            view.clickBtn.MouseDownEventHandler += (sender, e) =>
            {
                RemoveFromParent();
@@ -270,10 +270,10 @@
                        Send.dictionary(brightnessDictionary, "Data2", "0");
                        var horizontalSeekBarVol = new DiyImageSeekBar
                        {
                            Y = Application.GetRealHeight(140),
                            X = Application.GetRealWidth(78),
                            Width = Application.GetRealWidth(918),
                            Height = Application.GetRealHeight(320),//滑动条父控件高度
                            Y = Application.GetRealHeight(140),//进度条父控件Y坐标
                            X = Application.GetRealWidth(78),//进度条X坐标
                            Width = Application.GetRealWidth(918),//进度条的长度
                            Height = Application.GetRealHeight(320),//进度条父控控件高度
                            IsProgressTextShow = true,//显示百分比
                            IsClickable = true,//进度条是否滑动
                            ProgressBarColor = ZigbeeColor.Current.LogicProgressColorSelected,//选中进度条颜色