From dc9a1b15bb69227e19afc070adf58156a362d2a2 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期一, 30 九月 2024 17:07:58 +0800
Subject: [PATCH] 安卓可视对讲响铃,
---
HDL_ON/Common/OnAppConfig.cs | 32 ++++++++++++++++++++++++++++++--
1 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/Common/OnAppConfig.cs b/HDL_ON/Common/OnAppConfig.cs
index 884c037..6f75baa 100644
--- a/HDL_ON/Common/OnAppConfig.cs
+++ b/HDL_ON/Common/OnAppConfig.cs
@@ -65,9 +65,23 @@
return false;
else
{
- //return (DateTime.Now - LastTime).TotalDays < 7;
return true;
}
+ }
+ }
+
+ string pushSignStr;
+ /// <summary>
+ ///
+ /// </summary>
+ public string PushSignStr {
+ get
+ {
+ if (string.IsNullOrEmpty(pushSignStr))
+ {
+ pushSignStr = DateTime.Now.Ticks.ToString();
+ }
+ return pushSignStr;
}
}
@@ -77,10 +91,24 @@
public List<UserAccount> UserList = new List<UserAccount>();
#region 鏈嶅姟鍣ㄦ暟鎹�
+ public string _RequestHttpsHost = "https://china.hdlcontrol.com";
/// <summary>
/// 璐﹀彿娉ㄥ唽鏈嶅姟鍣ㄤ俊鎭�
/// </summary>
- public string RequestHttpsHost = "https://china.hdlcontrol.com";
+ public string RequestHttpsHost {
+ get
+ {
+ return _RequestHttpsHost;
+ }
+ set
+ {
+#if __IOS__
+ var sdm = new SiriKit.SceneDateManager();
+ sdm.GlobalRequestHttpsHost = value;
+#endif
+ _RequestHttpsHost = value;
+ }
+ }
/// <summary>
///
/// </summary>
--
Gitblit v1.8.0