From 39e83c7df7608b29a3f359bcc6d9ca9b7ff095f5 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期二, 17 五月 2022 13:54:39 +0800 Subject: [PATCH] 增加预编译条件 --- HDL_ON/Entity/Integratedbrand/IntegratedBrand.cs | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/HDL_ON/Entity/Integratedbrand/IntegratedBrand.cs b/HDL_ON/Entity/Integratedbrand/IntegratedBrand.cs index e3d96a7..b4f5d8b 100644 --- a/HDL_ON/Entity/Integratedbrand/IntegratedBrand.cs +++ b/HDL_ON/Entity/Integratedbrand/IntegratedBrand.cs @@ -1,4 +1,6 @@ 锘縰sing System; +using Shared; + namespace HDL_ON.Entity { /// <summary> @@ -42,6 +44,22 @@ /// 浜у搧鍚嶇О /// </summary> public string productName; + public string productNameEn; + + public string ProductShowName + { + get + { + if(Language.CurrentLanguage == "Chinese") + { + return productName; + } + else + { + return productNameEn; + } + } + } /// <summary> /// 浜у搧鍘傚晢 -- Gitblit v1.8.0