From b32c0a21755ac3e86df0242d993398773cb627f2 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期三, 04 十二月 2024 17:04:15 +0800 Subject: [PATCH] 修改资产界面 --- Service/HStation.Service.Assets.Core/02-model/13-Package/AssetsPackageMain.cs | 29 +++++++++++++++++++++++++---- 1 files changed, 25 insertions(+), 4 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/02-model/13-Package/AssetsPackageMain.cs b/Service/HStation.Service.Assets.Core/02-model/13-Package/AssetsPackageMain.cs index 875c639..808a573 100644 --- a/Service/HStation.Service.Assets.Core/02-model/13-Package/AssetsPackageMain.cs +++ b/Service/HStation.Service.Assets.Core/02-model/13-Package/AssetsPackageMain.cs @@ -6,7 +6,7 @@ /// 璁惧 /// </summary> [SysType("assets_package_main")] - public class AssetsPackageMain : BaseModel, ISorter, System.ICloneable + public class AssetsPackageMain : BaseModel, ISorter, IFlags, IParas, ITagName, System.ICloneable { /// <summary> /// @@ -23,8 +23,11 @@ this.Name = rhs.Name; this.SeriesID = rhs.SeriesID; this.CatalogID = rhs.CatalogID; - this.PumpCount = rhs.PumpCount; + this.PumpTotal = rhs.PumpTotal; this.PumpUseCount = rhs.PumpUseCount; + this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); + this.Flags = rhs.Flags?.ToList(); + this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } @@ -35,8 +38,11 @@ this.Name = rhs.Name; this.SeriesID = rhs.SeriesID; this.CatalogID = rhs.CatalogID; - this.PumpCount = rhs.PumpCount; + this.PumpTotal = rhs.PumpTotal; this.PumpUseCount = rhs.PumpUseCount; + this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); + this.Flags = rhs.Flags?.ToList(); + this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } @@ -64,7 +70,7 @@ /// <summary> /// 璁惧鏁伴噺 /// </summary> - public int PumpCount { get; set; } + public int PumpTotal { get; set; } /// <summary> /// 浣跨敤鏁伴噺 @@ -72,6 +78,21 @@ public int PumpUseCount { get; set; } /// <summary> + /// 鍙傛暟 + /// </summary> + public Dictionary<string, string> Paras { get; set; } + + /// <summary> + /// 鏍囩 + /// </summary> + public List<string> Flags { get; set; } + + /// <summary> + /// 鏍囧織 + /// </summary> + public string TagName { get; set; } + + /// <summary> /// 鎺掑簭鐮� /// </summary> public int SortCode { get; set; } -- Gitblit v1.9.3