From ca5f300a7cef85d22b5e0f9d59d117c49f9909b3 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期二, 19 十一月 2024 09:42:16 +0800 Subject: [PATCH] 完善资产界面 --- Service/HStation.Service.Assets.Core/01-entity/06-PipeLine/AssetsPipeCoefficient.cs | 45 +++++++++++++++++++++++++++++++-------------- 1 files changed, 31 insertions(+), 14 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/01-entity/06-PipeLine/AssetsPipeCoefficient.cs b/Service/HStation.Service.Assets.Core/01-entity/06-PipeLine/AssetsPipeCoefficient.cs index 4b33787..c0a413e 100644 --- a/Service/HStation.Service.Assets.Core/01-entity/06-PipeLine/AssetsPipeCoefficient.cs +++ b/Service/HStation.Service.Assets.Core/01-entity/06-PipeLine/AssetsPipeCoefficient.cs @@ -6,15 +6,27 @@ /// <summary> /// 涓氬姟绔� /// </summary> - [SysType("assets_pipeco_efficient")] + [SysType("assets_pipe_efficient")] [SugarTable("assets_pipe_coefficient")] - public class AssetsPipeCoefficient : BaseEntity, ISorter, System.ICloneable + public class AssetsPipeCoefficient : BaseEntity, System.ICloneable { /// <summary> /// /// </summary> public AssetsPipeCoefficient() { } + + public AssetsPipeCoefficient(AssetsPipeCoefficient rhs) + { + this.ID = rhs.ID; + this.PipeLineID = rhs.PipeLineID; + this.Name = rhs.Name; + this.Caliber = rhs.Caliber; + this.Material = rhs.Material; + this.eAlgorithmType = rhs.eAlgorithmType; + this.StartValue = rhs.StartValue; + this.EndValue = rhs.EndValue; + } /// <summary> /// 鍚嶇О @@ -32,6 +44,21 @@ public long PipeLineID { get; set; } /// <summary> + /// 鍙e緞 + /// </summary> + public double? Caliber { get; set; } + + /// <summary> + /// 鏉愭枡 + /// </summary> + public string Material { get; set; } + + /// <summary> + /// 灞�闃荤郴鏁� + /// </summary> + public double MinorLoss { get; set; } + + /// <summary> /// 寮�濮嬪�� /// </summary> public string StartValue { get; set; } @@ -42,21 +69,11 @@ public string EndValue { get; set; } /// <summary> - /// 鎺掑簭鐮� - /// </summary> - public int SortCode { get; set; } - - /// <summary> - /// 璇存槑 - /// </summary> - public string Description { get; set; } - - /// <summary> /// /// </summary> - public AssetsPumpGroupAndMainMap Clone() + public AssetsPumpGroupAndMainMapping Clone() { - return (AssetsPumpGroupAndMainMap)this.MemberwiseClone(); + return (AssetsPumpGroupAndMainMapping)this.MemberwiseClone(); } object ICloneable.Clone() -- Gitblit v1.9.3