using HStation.Assets;
namespace HStation.WinFrmUI
{
public class FlowmeterSingleMatchingViewModel
{
public FlowmeterSingleMatchingViewModel()
{
}
public FlowmeterSingleMatchingViewModel(Vmo.AssetsFlowmeterMainVmo rhs)
{
this.Caliber = rhs.Caliber;
this.ID = rhs.ID;
this.Material = rhs.Material;
this.ModelType = rhs.Name;
this.MinorLoss = rhs.MinorLoss;
}
///
/// ID
///
[DisplayName("ID")]
[Browsable(false)]
public long ID { get; set; }
///
/// 型号名
///
[DisplayName("型号名")]
[Browsable(true)]
public string ModelType { get; set; }
///
/// 材质
///
[DisplayName("材质")]
[Browsable(true)]
public string Material { get; set; }
///
/// 口径
///
[DisplayName("口径")]
[Browsable(true)]
public double? Caliber { get; set; }
///
/// 损失系数
///
[DisplayName("损失系数")]
[Browsable(true)]
public double? MinorLoss { get; set; }
}
}