From 741cf87691107698b211c45df1f7392329e87f9a Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 08 三月 2022 10:36:22 +0800 Subject: [PATCH] 门锁功能、俄语优化 --- HDL_ON/Common/UserInfo.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/HDL_ON/Common/UserInfo.cs b/HDL_ON/Common/UserInfo.cs index c82538d..2f98571 100644 --- a/HDL_ON/Common/UserInfo.cs +++ b/HDL_ON/Common/UserInfo.cs @@ -160,6 +160,18 @@ } } + [Newtonsoft.Json.JsonIgnore] + public DateTime LastTimeOpenDoor = DateTime.MinValue; + public bool VerOpenDoorPw + { + get + { + return (DateTime.Now - LastTime).TotalMinutes > 5; + } + } + [Newtonsoft.Json.JsonIgnore] + public string doorPasswordString; + #endregion /// <summary> -- Gitblit v1.8.0