wxr
2023-05-06 f8343a2e765eefe10c8a0d6bdd6db65b0cf0321c
HDL_ON/UI/UI2/FuntionControlView/Light/GroupControlPage.cs
@@ -199,7 +199,7 @@
                {
                    btnClose.IsSelected = true;
                    btnOpen.IsSelected = false;
                    var d = new Dictionary<string, object>();
                    var d = new Dictionary<string, string>();
                    d.Add(FunctionAttributeKey.OnOff, "off");
                    group.Control(d);
                };
@@ -208,7 +208,7 @@
                    btnClose.IsSelected = false;
                    btnOpen.IsSelected = true;
                    var d = new Dictionary<string, object>();
                    var d = new Dictionary<string, string>();
                    d.Add(FunctionAttributeKey.OnOff, "on");
                    group.Control(d);
                };
@@ -311,7 +311,7 @@
            {
                btnBrightnessText.Text = Language.StringByID(StringId.Brightness) + " " + e + "%";
                var d = new Dictionary<string, object>();
                var d = new Dictionary<string, string>();
                d.Add(FunctionAttributeKey.Brightness, e.ToString());
                group.Control(d);
            };
@@ -410,7 +410,7 @@
            };
            barColorTemplatrue.OnStopTrackingTouchEvent = (sender, e) =>
            {
                var d = new Dictionary<string, object>();
                var d = new Dictionary<string, string>();
                d.Add(FunctionAttributeKey.CCT, (barColorTemplatrue.Progress * 100).ToString());
                group.Control(d);
            };
@@ -498,7 +498,7 @@
            var rgbTemp = new Light();
            colorPicker.MouseUpEventHandler = (sender2, e2) =>
            {
                var d = new Dictionary<string, object>();
                var d = new Dictionary<string, string>();
                d.Add(FunctionAttributeKey.RGB, rgbString);
                group.Control(d);
            };
@@ -506,7 +506,7 @@
            {
                rgbString = (e2[0] + "," + e2[1] + "," + e2[2]).ToString();
                btnCurColor.BackgroundColor = (uint)(0xFF000000 + rgbTemp.GetRGBcolor(rgbString));
                var d = new Dictionary<string, object>();
                var d = new Dictionary<string, string>();
                d.Add(FunctionAttributeKey.RGB, rgbString);
                group.Control(d);
            };