using HStation.Assets; using Yw.Model; namespace HStation.Model { /// /// 管道粗糙系数 /// [SysType("xhs_pipelinecoarsecoefficient")] [SugarTable("xhs_pipelinecoarsecoefficient")] public class PipeLineRoughnessCoefficient : BaseModel, ISorter, System.ICloneable { /// /// /// public PipeLineRoughnessCoefficient() { } public PipeLineRoughnessCoefficient(PipeLineRoughnessCoefficient 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(PipeLineRoughnessCoefficient 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 PumpGroupAndMainMap Clone() { return (PumpGroupAndMainMap)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }