From abf3ceabdd98abd0d955b03732e581a43c4e9fb0 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期一, 13 一月 2025 15:01:31 +0800 Subject: [PATCH] 解决冲突 --- Yw.BLL.Unit.Core/04-bll/06-helper/SysUnitTransfer.cs | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/Yw.BLL.Unit.Core/04-bll/06-helper/SysUnitTransfer.cs b/Yw.BLL.Unit.Core/04-bll/06-helper/SysUnitTransfer.cs new file mode 100644 index 0000000..d10a044 --- /dev/null +++ b/Yw.BLL.Unit.Core/04-bll/06-helper/SysUnitTransfer.cs @@ -0,0 +1,47 @@ +锘縩amespace Yw.BLL +{ + /// <summary> + /// 鍗曚綅杈呭姪绫� + /// </summary> + public partial class SysUnitHelper + { + private readonly Yw.CAL.ISysUnitHelper _cal = CALCreateHelper.CreateCAL<Yw.CAL.ISysUnitHelper>(); + + /// <summary> + /// + /// </summary> + public virtual Task<string> GetUnitName(string UnitType, string UnitValue, string UnitLang) + { + return _cal.GetUnitName(UnitType, UnitValue, UnitLang); + } + + /// <summary> + /// + /// </summary> + public virtual Task<List<string>> GetUnitNameList(string UnitType, string UnitLang) + { + return _cal.GetUnitNameList(UnitType, UnitLang); + } + + /// <summary> + /// + /// </summary> + public virtual Task<Dictionary<string, string>> GetUnitDict(string UnitType, string UnitLang) + { + return _cal.GetUnitDict(UnitType, UnitLang); + } + + /// <summary> + /// + /// </summary> + public virtual Task<double> Transfer(string UnitType, string FromUnitValue, string ToUnitValue, double FromValue) + { + return _cal.Transfer(UnitType, FromUnitValue, ToUnitValue, FromValue); + } + + + + + + } +} \ No newline at end of file -- Gitblit v1.9.3