using Yw.Model; namespace HStation.Model { /// /// 压缩机系数 /// public class AssetsCompressorFactor : BaseModel, ISorter, System.ICloneable { /// /// /// public AssetsCompressorFactor() { } /// /// /// public AssetsCompressorFactor(AssetsCompressorFactor rhs) : base(rhs) { this.Name = rhs.Name; this.Material = rhs.Material; this.Diameter = rhs.Diameter; this.MinorLoss = rhs.MinorLoss; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(AssetsCompressorFactor rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.Material = rhs.Material; this.Diameter = rhs.Diameter; this.MinorLoss = rhs.MinorLoss; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// public string Name { get; set; } /// /// 材料 /// public string Material { get; set; } /// /// 直径 mm /// public double? Diameter { get; set; } /// /// 局阻系数 /// public double MinorLoss { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public AssetsCompressorFactor Clone() { return new AssetsCompressorFactor(this); } object ICloneable.Clone() { return this.Clone(); } } }