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 | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/HDL_ON/Common/OnAppConfig.cs b/HDL_ON/Common/OnAppConfig.cs index 8c86dc0..a82ea3d 100644 --- a/HDL_ON/Common/OnAppConfig.cs +++ b/HDL_ON/Common/OnAppConfig.cs @@ -71,12 +71,40 @@ } } + 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> /// 璐﹀彿娉ㄥ唽鏈嶅姟鍣ㄤ俊鎭� @@ -170,4 +198,11 @@ public DateTime LoginTime = DateTime.MinValue; } + + public enum RequestHostType + { + ONLINE, + TEST, + DEV, + } } \ No newline at end of file -- Gitblit v1.8.0