From e74a8d9e9dc5ef2120fd811fb03a870efb96a92a Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 12 十月 2023 13:54:23 +0800
Subject: [PATCH] 2.3图标内容

---
 HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPageBLL.cs |   38 --------------------------------------
 1 files changed, 0 insertions(+), 38 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPageBLL.cs
index 765396b..11c2daa 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPageBLL.cs
@@ -7,12 +7,6 @@
 {
     public partial class DimmerPage
     {
-        /// <summary>
-        /// 閫氱煡鏇存柊鐣岄潰鐨勬椂闂�
-        /// </summary>
-        DateTime notiyUpdateTime = DateTime.MinValue;
-        System.Threading.Thread updateUiThread;
-        object lockObj = new object();
         
         /// <summary>
         /// 鏇存柊鍔熻兘鐘舵��
@@ -23,31 +17,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(() =>{
                             try
@@ -79,16 +48,9 @@
                             }
                             finally
                             {
-                                bodyView.updateUiThread = null;
                             }
                         });
 
-
-                        bodyView.updateUiThread.IsBackground = true;
-                        bodyView.updateUiThread.Start();
-                    });
-                }
-            }
         }
 
         void LoadEventList()

--
Gitblit v1.8.0