From 418b0d0a4002bc06ba3a55d1809fe46043f06c09 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 26 九月 2022 14:07:58 +0800
Subject: [PATCH] 光伏更新,金茂科技系统更新
---
HDL_ON/Common/Constant.cs | 29 +++++++++++++++++++++++++++--
1 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/Common/Constant.cs b/HDL_ON/Common/Constant.cs
index d4080b3..0dd7756 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>
--
Gitblit v1.8.0