| | |
| | | namespace HStation.WinFrmUI.Xhs |
| | | using HStation.Assets; |
| | | |
| | | namespace HStation.WinFrmUI |
| | | { |
| | | public class ElbowSingleMatchingViewModel |
| | | { |
| | |
| | | { |
| | | } |
| | | |
| | | public ElbowSingleMatchingViewModel(Vmo.ElbowMainVmo rhs) |
| | | public ElbowSingleMatchingViewModel(Vmo.AssetsElbowMainVmo rhs) |
| | | { |
| | | this.Caliber = rhs.Caliber; |
| | | this.ID = rhs.ID; |
| | | this.Material = rhs.MaterialName; |
| | | this.Material = rhs.Material; |
| | | this.ModelType = rhs.Name; |
| | | this.MinorLoss = rhs.Coefficient; |
| | | this.MinorLoss = rhs.MinorLoss; |
| | | this.Angle = rhs.Angle; |
| | | this.ElbowType = rhs.ElbowType; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | [DisplayName("损失系数")] |
| | | [Browsable(true)] |
| | | public double? MinorLoss { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 管路连接长度 |
| | | /// </summary> |
| | | |
| | | [DisplayName("弯头类型")] |
| | | [Browsable(true)] |
| | | public HStation.Assets.eElbowType? ElbowType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 角度 |
| | | /// </summary> |
| | | |
| | | [DisplayName("角度")] |
| | | [Browsable(true)] |
| | | public int? Angle { get; set; } |
| | | } |
| | | } |