From f16e7e4df7e7813e4a3052dae752aae3e6937b30 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 08 七月 2022 16:53:12 +0800 Subject: [PATCH] 自研可视对讲、毫米波 --- HDL_ON/UI/UI0-Public/AppUnlockPage.cs | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI0-Public/AppUnlockPage.cs b/HDL_ON/UI/UI0-Public/AppUnlockPage.cs index 637798b..ccdeeb4 100644 --- a/HDL_ON/UI/UI0-Public/AppUnlockPage.cs +++ b/HDL_ON/UI/UI0-Public/AppUnlockPage.cs @@ -75,6 +75,26 @@ { if (UserInfo.Current.unlockTime.AddMinutes(5) > DateTime.Now || UserInfo.Current.appUnlockPasswrod == "" || UserInfo.Current.appUnlockPage.Count == 0) { + if (UserInfo.Current.inCall.AddMinutes(30) > DateTime.Now || + UserInfo.Current.inVideo) + { + //UserInfo.Current.PushMesLogTime = DateTime.MinValue; + + //var pushMes = new JPushMessageInfo() + //{ + // Title = UserInfo.Current.PushMesTitle, + // Content = UserInfo.Current.PushMesMessage, + // Extras = UserInfo.Current.PushMesExtras, + // messageType = UserInfo.Current.pushMesMessageType, + // expantContent = UserInfo.Current.pushMesExpantContent, + // HomeId = UserInfo.Current.PushMesHomeId, + //}; + Shared.Application.RunOnMainThread(() => + { + HDLCommon.Current.AdjustPushMessage(UserInfo.Current.pushMessageInfo); + }); + } + return; } } -- Gitblit v1.8.0