using System.ComponentModel; namespace HStation.WinFrmUI { public class PipeLineCoefficientViewModel { public PipeLineCoefficientViewModel() { } public PipeLineCoefficientViewModel(Vmo.AssetsPipeFactorVmo rhs) { this.ID = rhs.ID; this.Name = rhs.Name; } /// /// id /// public long ID { get; set; } /// /// 名称 /// [DisplayName("名称")] [Browsable(true)] public string Name { get; set; } /// /// 口径 /// [DisplayName("口径")] [Browsable(true)] public double? Caliber { get; set; } /// /// 材料 /// [DisplayName("材料")] [Browsable(true)] public string Material { get; set; } /// /// 局阻系数 /// [DisplayName("局阻系数")] [Browsable(true)] public double MinorLoss { get; set; } } }