From b562a582ac3a288193e6e4f57c5eff8a344305a4 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 27 九月 2024 13:52:17 +0800
Subject: [PATCH] Update AndroidManifest.xml
---
HDL_ON/UI/UI2/FuntionControlView/Light/GroupControlPage.cs | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/GroupControlPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/GroupControlPage.cs
index 4add0af..43c592a 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/GroupControlPage.cs
+++ b/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);
};
--
Gitblit v1.8.0