using HStation.Assets; using Yw.Model; namespace HStation.Model { /// /// 管道粗糙系数 /// [SysType("assets_pipe_coefficient")] public class AssetsPipeLineCoefficient : BaseModel, System.ICloneable { /// /// /// public AssetsPipeLineCoefficient() { } public AssetsPipeLineCoefficient(AssetsPipeLineCoefficient 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; } public void Reset(AssetsPipeLineCoefficient 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; } /// /// 名称 /// public string Name { get; set; } /// /// 口径 /// public double? Caliber { get; set; } /// /// 材料 /// public string Material { get; set; } /// /// 局阻系数 /// public double MinorLoss { get; set; } /// /// 算法类型 /// public eAlgorithmType eAlgorithmType { get; set; } /// /// 管道ID /// public long PipeLineID { get; set; } /// /// 开始值 /// public string StartValue { get; set; } /// /// 结束值 /// public string EndValue { get; set; } /// /// /// public AssetsPumpGroupAndMainMapping Clone() { return (AssetsPumpGroupAndMainMapping)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }