From 592974441a4df95fffd9167c90192da1a390b1c2 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 06 六月 2023 11:51:12 +0800
Subject: [PATCH] Merge branch 'Dev-Branch'

---
 HDL_ON/Common/Constant.cs |   33 +++++++++++++++++++++++++++++++--
 1 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/Common/Constant.cs b/HDL_ON/Common/Constant.cs
index d4080b3..92b1527 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>
@@ -284,6 +309,10 @@
         /// HDL鍙瀵硅
         /// </summary>
         HDL_INTERPHONE,
+        /// <summary>
+        /// 闂ㄩ搩鎺ㄩ��(钀ょ煶瑙嗛闂ㄩ攣)
+        /// </summary>
+        DOOR_BELL,
     }
 
     /// <summary>

--
Gitblit v1.8.0