wxr
2021-12-30 d275465c510dc1cf4e61227d7bf6d6054042b379
HDL_ON/Common/Constant.cs
@@ -1,4 +1,6 @@
using 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>