From ea0b1e8e5f43c5fd0a7d479e25ede3b8cbea464a Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期一, 02 十二月 2024 17:17:19 +0800 Subject: [PATCH] tcp;可视对讲; --- HDL_ON/Common/OnAppConfig.cs | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 54 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Common/OnAppConfig.cs b/HDL_ON/Common/OnAppConfig.cs index 2bc3220..a82ea3d 100644 --- a/HDL_ON/Common/OnAppConfig.cs +++ b/HDL_ON/Common/OnAppConfig.cs @@ -71,16 +71,58 @@ } } + string pushSignStr; + /// <summary> + /// + /// </summary> + public string PushSignStr + { + get + { + if (string.IsNullOrEmpty(pushSignStr)) + { + pushSignStr = DateTime.Now.Ticks.ToString(); + } + return pushSignStr; + } + set + { + pushSignStr = value; + } + } + + + /// <summary> + /// 瀛椾綋鏀惧ぇ + /// </summary> + public int FontAmplify = 3; + /// <summary> /// 瀛樺偍鐧诲綍杩囩殑鐢ㄦ埛 /// </summary> public List<UserAccount> UserList = new List<UserAccount>(); #region 鏈嶅姟鍣ㄦ暟鎹� + public RequestHostType HostType = RequestHostType.ONLINE; + + 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> @@ -94,6 +136,10 @@ /// 绗竴娆″惎鍔╝pp /// </summary> public bool FirstRunApp = true; + /// <summary> + /// 鏄惁鍚屾剰浜鸿劯閲囬泦鍗忚 + /// </summary> + public bool FaceManagementTip = false; /// <summary> /// 蹇界暐鏇存柊鐨勭増鏈彿 @@ -152,4 +198,11 @@ public DateTime LoginTime = DateTime.MinValue; } + + public enum RequestHostType + { + ONLINE, + TEST, + DEV, + } } \ No newline at end of file -- Gitblit v1.8.0