From d3123778d722597ee43c23879ce131ebf340393f Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 16 十二月 2020 15:15:41 +0800 Subject: [PATCH] Merge branch 'CJL' --- HDL_ON/Entity/FunctionList.cs | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/HDL_ON/Entity/FunctionList.cs b/HDL_ON/Entity/FunctionList.cs index 0cbae44..6d6b3f2 100644 --- a/HDL_ON/Entity/FunctionList.cs +++ b/HDL_ON/Entity/FunctionList.cs @@ -778,6 +778,35 @@ } return text; } + + + /// <summary> + /// 寤舵椂鏄剧ず鐨勬枃鏈� + /// </summary> + public string GetDelayText(string delay) + { + string text = ""; + switch (delay) + { + case "0": + text = Language.StringByID(StringId.NoDelay); + break; + case "30": + text = "30s"; + break; + case "60": + text = "1min"; + break; + case "120": + text = "2min"; + break; + case "300": + text = "5min"; + break; + } + return text; + } + #endregion } -- Gitblit v1.8.0