using HStation.Assets; using Yw.Model; namespace HStation.Model { /// /// 管道粗糙系数 /// [SysType("assets_pipecoefficient")] public class AssetsPipeRoughnessCoefficient : BaseModel, ISorter, System.ICloneable { /// /// /// public AssetsPipeRoughnessCoefficient() { } public AssetsPipeRoughnessCoefficient(AssetsPipeRoughnessCoefficient 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(AssetsPipeRoughnessCoefficient 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 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(); } } }