using HStation.Assets; using Yw.Model; namespace HStation.Model { /// /// 管道粗糙系数 /// [SysType("assets_pipe_coefficient")] public class AssetsPipeLineCoefficient : BaseModel, ISorter, System.ICloneable { /// /// /// public AssetsPipeLineCoefficient() { } public AssetsPipeLineCoefficient(AssetsPipeLineCoefficient rhs) { this.PipeLineID = rhs.PipeLineID; this.ID = rhs.ID; this.Name = rhs.Name; this.Description = rhs.Description; this.eAlgorithmType = rhs.eAlgorithmType; this.StartValue = rhs.StartValue; this.EndValue = rhs.EndValue; this.SortCode = rhs.SortCode; } public void Reset(AssetsPipeLineCoefficient rhs) { this.PipeLineID = rhs.PipeLineID; this.ID = rhs.ID; this.Name = rhs.Name; this.Description = rhs.Description; this.eAlgorithmType = rhs.eAlgorithmType; this.StartValue = rhs.StartValue; this.EndValue = rhs.EndValue; this.SortCode = rhs.SortCode; } /// /// 名称 /// 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 int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public AssetsPumpGroupAndMainMap Clone() { return (AssetsPumpGroupAndMainMap)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }