From 691dbe24f5724f153e07947c7b75bdfea5f0b6d5 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 24 九月 2024 16:15:15 +0800
Subject: [PATCH] 离线控制模式

---
 HDL_ON/Common/OnAppConfig.cs |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/Common/OnAppConfig.cs b/HDL_ON/Common/OnAppConfig.cs
index 884c037..7dd4117 100644
--- a/HDL_ON/Common/OnAppConfig.cs
+++ b/HDL_ON/Common/OnAppConfig.cs
@@ -65,7 +65,6 @@
                     return false;
                 else
                 {
-                    //return (DateTime.Now - LastTime).TotalDays < 7;
                     return true;
                 }
             }
@@ -77,10 +76,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