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/RGBPageBLL.cs | 37 -------------------------------------
1 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs
index e60c686..776e6d0 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs
@@ -6,12 +6,6 @@
{
public partial class RGBPage
{
- /// <summary>
- /// 閫氱煡鏇存柊鐣岄潰鐨勬椂闂�
- /// </summary>
- DateTime notiyUpdateTime = DateTime.MinValue;
- System.Threading.Thread updateUiThread;
- object lockObj = new object();
public override void RemoveFromParent()
{
@@ -27,31 +21,6 @@
{
return;
}
- lock (bodyView.lockObj)
- {
- MainPage.Log($"鏀跺埌鏇存柊"+ DateTime.Now.Ticks);
- bodyView.notiyUpdateTime = DateTime.Now;
- if (bodyView.updateUiThread == null)
- {
- bodyView.updateUiThread = new System.Threading.Thread(() =>
- {
- while (true)
- {
- System.Threading.Thread.Sleep(1500);
- if(bodyView == null)
- {
- return;
- }
- if (DateTime.Now.AddMilliseconds(-1500) > bodyView.notiyUpdateTime)
- {
- MainPage.Log("娌℃湁鏂版暟鎹紝鏇存柊UI");
- break;
- }
- else
- {
- MainPage.Log("鏈夋柊鏁版嵁锛岀户缁瓑寰�");
- }
- }
Application.RunOnMainThread((() =>
{
@@ -123,15 +92,9 @@
}
finally
{
- bodyView.updateUiThread = null;
}
}));
- });
- bodyView.updateUiThread.IsBackground = true;
- bodyView.updateUiThread.Start();
- }
- }
}
--
Gitblit v1.8.0