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/DimmerPage.cs | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPage.cs
index 6aca64f..741453a 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPage.cs
@@ -81,7 +81,7 @@
controlView = new FrameLayout()
{
Gravity = Gravity.CenterHorizontal,
- Y = Application.GetRealHeight(88),
+ Y = Application.GetRealHeight(88 + 10),
Width = Application.GetRealWidth(327),
Height = Application.GetRealHeight(526),
BackgroundImagePath = "Public/Fragmentbg.png",
@@ -220,11 +220,6 @@
Enable = function.GetAttribute(FunctionAttributeKey.FadeTime) != null,
};
controlView.AddChidren(barFadeTime);
- barFadeTime.OnStopTrackingTouchEvent = (sender, e) =>
- {
- function.SetAttrState(FunctionAttributeKey.FadeTime, e.ToString());
- function.UpdataFuncitonInfo();
- };
var btnGradualChangeMaxValuesText = new Button()
{
@@ -267,12 +262,12 @@
new System.Threading.Thread(() => {
while (true)
{
- System.Threading.Thread.Sleep(500);
+ System.Threading.Thread.Sleep(2000);
if (curDimmerStatus)
{
continue;
}
- if ( onDimmerBar)
+ if (onDimmerBar)
{
onDimmerBar = false;
continue;
@@ -280,6 +275,7 @@
else
{
DriverLayer.Control.Ins.SendReadCommand(function);
+ curDimmerStatus = true;
}
}
})
--
Gitblit v1.8.0