From 5eeafe3af80bfd88306bd8ad9e76c8f4b51ca35f Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期四, 17 十二月 2020 14:16:20 +0800
Subject: [PATCH] 增加本地发送的重发机制

---
 HDL_ON/UI/UI2/UserPage.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs
index fca117f..51e922d 100644
--- a/HDL_ON/UI/UI2/UserPage.cs
+++ b/HDL_ON/UI/UI2/UserPage.cs
@@ -129,10 +129,10 @@
                 ContextView.AddChidren(homePage);
                 homePage.LoadPage();
 
-                //鍒锋柊鍔熻兘鐘舵��
-                DB_ResidenceData.residenceData.RefreshResidenceFunctionStatus();
                 //娉ㄥ唽鎺ㄩ�両D
                 RegisteredPush();
+                //2020-12-07 澧炲姞鐗堟湰妫�娴嬫洿鏂版柟娉�
+                HDLCommon.Current.CheckIfNeedForceUpdate();
 
             }
             catch (Exception ex)
@@ -379,7 +379,7 @@
                 {
                     btnNavigationSelectionIcon.SetRotation(0f);
                 });
-            }) { IsBackground = true }.Start();
+            }) { IsBackground = true ,Priority = System.Threading.ThreadPriority.Highest}.Start();
             #endregion
             ContextView.RemoveAll();
             var homePage = new HomePage();
@@ -468,7 +468,7 @@
                     btnNavigationSelectionIcon.SetRotation(0f);
                 });
             })
-            { IsBackground = true }.Start();
+            { IsBackground = true, Priority = System.Threading.ThreadPriority.Highest }.Start();
             #endregion
             ContextView.RemoveAll();
             var classificaitionView = new ClassificationPage();
@@ -558,7 +558,7 @@
                     btnNavigationSelectionIcon.SetRotation(0f);
                 });
             })
-            { IsBackground = true }.Start();
+            { IsBackground = true, Priority = System.Threading.ThreadPriority.Highest }.Start();
             #endregion
             ContextView.RemoveAll();
             var intelligenceView = new IntelligencePage();
@@ -648,7 +648,7 @@
                     btnNavigationSelectionIcon.SetRotation(0f);
                 });
             })
-            { IsBackground = true }.Start();
+            { IsBackground = true, Priority = System.Threading.ThreadPriority.Highest }.Start();
             #endregion
 
             ContextView.RemoveAll();

--
Gitblit v1.8.0