using Yw.Model; namespace HStation.Model { /// /// 弯头系数 /// [SysType("assets_elbow_factor")] [SugarTable("assets_elbow_factor")] public class AssetsElbowFactor : BaseModel, ISorter, System.ICloneable { /// /// /// public AssetsElbowFactor() { } public AssetsElbowFactor(AssetsElbowFactor rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; this.Angle = rhs.Angle; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } public void Reset(AssetsElbowFactor rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; this.Angle = rhs.Angle; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// public string Name { get; set; } /// /// 口径 /// public double? Caliber { get; set; } /// /// 材料 /// public string Material { get; set; } /// /// 局阻系数 /// public double MinorLoss { get; set; } /// /// 角度 /// public int? Angle { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public AssetsElbowFactor Clone() { return (AssetsElbowFactor)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }