From a3b92962f31cb3bbebaba37475b3a8417831520f Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期四, 23 九月 2021 15:30:29 +0800
Subject: [PATCH] 合并嘉乐本地加密代码
---
HDL_ON/Entity/DB_ResidenceData.cs | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/HDL_ON/Entity/DB_ResidenceData.cs b/HDL_ON/Entity/DB_ResidenceData.cs
index 712bbb5..7999151 100644
--- a/HDL_ON/Entity/DB_ResidenceData.cs
+++ b/HDL_ON/Entity/DB_ResidenceData.cs
@@ -121,6 +121,7 @@
ShowFunction.Sensor,ShowFunction.VideoIntercom,
ShowFunction.SecurityCenter
});
+ instance.SupportFacePass = false;
instance.SaveResidenceData();
}
catch (Exception ex)
@@ -446,5 +447,23 @@
}
#endregion
+
+
+
+ /// <summary>
+ /// 涓婁竴娆℃彁绀虹殑鏃堕棿
+ /// </summary>
+ public DateTime LastTipTime = DateTime.MinValue;
+ /// <summary>
+ /// 鏄惁闇�瑕佹彁绀�
+ /// </summary>
+ public bool NeedTip
+ {
+ get
+ {
+ return (DateTime.Now - LastTipTime).TotalDays > 2;
+ }
+ }
+
}
}
--
Gitblit v1.8.0