From 09dfbfd9b77ec887c17b10f15799a1d3f56e4e17 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 15 十二月 2020 12:04:42 +0800 Subject: [PATCH] 2020-12-15-1 --- HDL_ON/UI/UI2/UserPage.cs | 24 ++++++++++++++++++------ 1 files changed, 18 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs index 61db3e3..51e922d 100644 --- a/HDL_ON/UI/UI2/UserPage.cs +++ b/HDL_ON/UI/UI2/UserPage.cs @@ -2,6 +2,7 @@ using HDL_ON.Entity; using Shared; using HDL_ON.UI.CSS; +using HDL_ON.DAL.Server; namespace HDL_ON.UI { @@ -128,8 +129,11 @@ ContextView.AddChidren(homePage); homePage.LoadPage(); - //鍒锋柊鍔熻兘鐘舵�� - DB_ResidenceData.residenceData.RefreshResidenceFunctionStatus(); + //娉ㄥ唽鎺ㄩ�両D + RegisteredPush(); + //2020-12-07 澧炲姞鐗堟湰妫�娴嬫洿鏂版柟娉� + HDLCommon.Current.CheckIfNeedForceUpdate(); + } catch (Exception ex) { @@ -375,7 +379,7 @@ { btnNavigationSelectionIcon.SetRotation(0f); }); - }) { IsBackground = true }.Start(); + }) { IsBackground = true ,Priority = System.Threading.ThreadPriority.Highest}.Start(); #endregion ContextView.RemoveAll(); var homePage = new HomePage(); @@ -464,7 +468,7 @@ btnNavigationSelectionIcon.SetRotation(0f); }); }) - { IsBackground = true }.Start(); + { IsBackground = true, Priority = System.Threading.ThreadPriority.Highest }.Start(); #endregion ContextView.RemoveAll(); var classificaitionView = new ClassificationPage(); @@ -554,7 +558,7 @@ btnNavigationSelectionIcon.SetRotation(0f); }); }) - { IsBackground = true }.Start(); + { IsBackground = true, Priority = System.Threading.ThreadPriority.Highest }.Start(); #endregion ContextView.RemoveAll(); var intelligenceView = new IntelligencePage(); @@ -644,7 +648,7 @@ btnNavigationSelectionIcon.SetRotation(0f); }); }) - { IsBackground = true }.Start(); + { IsBackground = true, Priority = System.Threading.ThreadPriority.Highest }.Start(); #endregion ContextView.RemoveAll(); @@ -652,5 +656,13 @@ ContextView.AddChidren(personalCenterPage); personalCenterPage.LoadView(); } + + /// <summary> + /// 娉ㄥ唽鎺ㄩ�� + /// </summary> + void RegisteredPush() + { + new HttpServerRequest().RegisteredPush(); + } } } -- Gitblit v1.8.0