From 1a13c963a5fb8cad92bf03667e411f46d6a6a843 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 17 十二月 2020 15:10:33 +0800
Subject: [PATCH] Revert "Merge branch 'tzy' into NewFilePath"

---
 HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
index 005478a..ea6db63 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
@@ -404,7 +404,7 @@
         {
             try
             {
-                return Utlis.UnixToDateTimeWithFormatMS(time, "HH:mm");
+                return Utlis.ToFriendlyDisplay(time);
             }
             catch (Exception ex)
             {
@@ -417,13 +417,14 @@
         /// </summary>
         void RegisterGetPushMessageAction()
         {
-            //HDLCommon.GetPushMessageAction = () => {
-            //    if (bodyView != null)
-            //    {
-            //        Utlis.WriteLine("GetPushMessageAction H鏀跺埌鎺ㄩ��");
-            //        GetUnreadPushMessages();
-            //    }
-            //};
+            Action RegisterGetPushMessageAction = () => {
+                if (bodyView != null)
+                {
+                    //Utlis.WriteLine("GetPushMessageAction H鏀跺埌鎺ㄩ��");
+                    GetUnreadPushMessages();
+                }
+            };
+            HDLCommon.GetPushMessageAction = RegisterGetPushMessageAction;
         }
 
         /// <summary>
@@ -431,7 +432,7 @@
         /// </summary>
         void UnregisterGetPushMessageAction()
         {
-            //HDLCommon.GetPushMessageAction = null;
+            HDLCommon.GetPushMessageAction = null;
         }
 
         #endregion

--
Gitblit v1.8.0