using Yw.Model; namespace HStation.Model { /// /// 消火栓系数 /// public class AssetsHydrantFactor : BaseModel, ISorter, System.ICloneable { /// /// /// public AssetsHydrantFactor() { } /// /// /// public AssetsHydrantFactor(AssetsHydrantFactor rhs) : base(rhs) { this.Name = rhs.Name; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(AssetsHydrantFactor rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; 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 SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public AssetsHydrantFactor Clone() { return (AssetsHydrantFactor)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }