using Yw.Model; namespace HStation.Model { /// /// 管道管理 /// [SysType("xhs_pipelineManage")] [SugarTable("xhs_pipelineManage")] public class PipeLineMain : BaseModel, ISorter, System.ICloneable { /// /// /// public PipeLineMain() { } public PipeLineMain(PipeLineMain rhs) { this.Caliber = rhs.Caliber; this.ID = rhs.ID; this.SeriesID = rhs.SeriesID; this.Name = rhs.Name; this.MaterialName = rhs.MaterialName; this.Manning = rhs.Manning; this.Coefficient = rhs.Coefficient; this.Darcy = rhs.Darcy; this.Hazen = rhs.Hazen; this.SortCode = rhs.SortCode; this.KeyWord = rhs.KeyWord; this.IsDefault = rhs.IsDefault; this.Description = rhs.Description; } public void Reset(PipeLineMain rhs) { this.Caliber = rhs.Caliber; this.ID = rhs.ID; this.SeriesID = rhs.SeriesID; this.Name = rhs.Name; this.MaterialName = rhs.MaterialName; this.Manning = rhs.Manning; this.Coefficient = rhs.Coefficient; this.Darcy = rhs.Darcy; this.Hazen = rhs.Hazen; this.SortCode = rhs.SortCode; this.KeyWord = rhs.KeyWord; this.IsDefault = rhs.IsDefault; this.Description = rhs.Description; } /// /// 名称 /// public string Name { get; set; } /// /// 系列ID /// public long SeriesID { get; set; } /// /// 口径 /// public double? Caliber { get; set; } /// /// 材料 /// public string MaterialName { get; set; } /// /// 系数 /// public double? Coefficient { get; set; } /// ///Hazen /// public double Hazen { get; set; } /// ///Darcy /// public double? Darcy { get; set; } /// ///Manning /// public double? Manning { get; set; } /// /// 识别关键字 /// public string KeyWord { get; set; } /// /// 是否默认 /// public bool IsDefault { 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(); } } }