using HStation.Assets; using Yw.Model; namespace HStation.Model { /// /// 过渡件系数 /// public class AssetsTranslationFactor : BaseModel, ISorter, System.ICloneable { /// /// /// public AssetsTranslationFactor() { } /// /// /// public AssetsTranslationFactor(AssetsTranslationFactor rhs) : base(rhs) { this.Name = rhs.Name; this.Material = rhs.Material; this.StartDiameter = rhs.StartDiameter; this.EndDiameter = rhs.EndDiameter; this.TranslationType = rhs.TranslationType; this.MinorLoss = rhs.MinorLoss; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(AssetsTranslationFactor rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.Material = rhs.Material; this.StartDiameter = rhs.StartDiameter; this.EndDiameter = rhs.EndDiameter; this.TranslationType = rhs.TranslationType; this.MinorLoss = rhs.MinorLoss; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// public string Name { get; set; } /// /// 材料 /// public string Material { get; set; } /// /// 上游直径 /// public double StartDiameter { get; set; } /// /// 下游直径 /// public double EndDiameter { get; set; } /// /// 过渡件类型 /// public eTranslationType TranslationType { get; set; } /// /// 局阻系数 /// public double MinorLoss { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public AssetsTranslationFactor Clone() { return (AssetsTranslationFactor)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }