using System.ComponentModel;
namespace HStation.WinFrmUI
{
public class ElbowCoefficientViewModel
{
public ElbowCoefficientViewModel()
{ }
public ElbowCoefficientViewModel(Vmo.AssetsElbowFactorVmo rhs)
{
this.ID = rhs.ID;
this.Name = rhs.Name;
this.Caliber = rhs.Caliber;
this.Material = rhs.Material;
this.MinorLoss = rhs.MinorLoss;
}
///
/// 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; }
}
}