| | |
| | | using HStation.Assets; |
| | | using System.ComponentModel; |
| | | |
| | | namespace HStation.WinFrmUI |
| | | namespace HStation.WinFrmUI |
| | | { |
| | | public class ValveCoefficientViewModel |
| | | { |
| | | public ValveCoefficientViewModel() |
| | | { } |
| | | |
| | | public ValveCoefficientViewModel(Vmo.AssetsValveCoefficientVmo rhs) |
| | | public ValveCoefficientViewModel(Vmo.AssetsValveFactorVmo rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | | this.Caliber = rhs.Caliber; |
| | | this.Material = rhs.Material; |
| | | this.MinorLoss = rhs.MinorLoss; |
| | | this.ValveType = rhs.ValveType; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | [DisplayName("局阻系数")] |
| | | [Browsable(true)] |
| | | public double? MinorLoss { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 阀门类型 |
| | | /// </summary> |
| | | [DisplayName("阀门类型")] |
| | | [Browsable(true)] |
| | | public eValveType ValveType { get; set; } |
| | | public double MinorLoss { get; set; } |
| | | } |
| | | } |