From c5cb6840bd986bbd71a9ebc232bbf44ed0e1fc3d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 23 五月 2024 17:43:11 +0800 Subject: [PATCH] jpush更新完成 --- HDL_ON/Common/Constant.cs | 41 +++++++++++++++++++++++++++++++++++++---- 1 files changed, 37 insertions(+), 4 deletions(-) diff --git a/HDL_ON/Common/Constant.cs b/HDL_ON/Common/Constant.cs index d4080b3..6c791d3 100644 --- a/HDL_ON/Common/Constant.cs +++ b/HDL_ON/Common/Constant.cs @@ -1,4 +1,6 @@ 锘縰sing System; +using Shared; + namespace HDL_ON { #region 鈻� 鍏ㄥ眬甯搁噺 ____________________________ @@ -10,11 +12,34 @@ /// <summary> /// 鐢ㄦ埛鍗忚 /// </summary> - public const string URL_USERAGREEMENT = "https://developer.hdlcontrol.com/HDLOnPlusUserAgreement.html"; + public static string URL_USERAGREEMENT { + get { + if (Language.CurrentLanguage == "Chinese") { + return "https://developer.hdlcontrol.com/HDLOnPlusUserAgreement.html"; + } + else + { + return "https://developer.hdlcontrol.com/OnProServiceAgreement-En.html"; + } + } + } /// <summary> /// 闅愮鏀跨瓥 /// </summary> - public const string URL_PRIVACYPOLICY = "https://developer.hdlcontrol.com/HDLOnPlusPrivacyPolicy.html"; + public static string URL_PRIVACYPOLICY + { + get + { + if (Language.CurrentLanguage == "Chinese") + { + return "https://developer.hdlcontrol.com/HDLOnPlusPrivacyPolicy.html"; + } + else + { + return "https://developer.hdlcontrol.com/OnProUserAgreement-En.html"; + } + } + } /// <summary> /// 鎶�鏈敮鎸佺數璇濆彿鐮� /// </summary> @@ -214,6 +239,10 @@ /// /// </summary> LOGIC, + /// <summary> + /// 缁勬帶 + /// </summary> + GROUPCONTROL, } /// <summary> @@ -267,7 +296,7 @@ /// <summary> /// 涓版灄鍙瀵硅鍛煎彨 /// </summary> - FLCall, + //FLCall, /// <summary> /// 鎸や笅绾挎帹閫� /// </summary> @@ -283,7 +312,11 @@ /// <summary> /// HDL鍙瀵硅 /// </summary> - HDL_INTERPHONE, + //HDL_INTERPHONE, + /// <summary> + /// 闂ㄩ搩鎺ㄩ��(钀ょ煶瑙嗛闂ㄩ攣) + /// </summary> + DOOR_BELL, } /// <summary> -- Gitblit v1.8.0