| | |
| | | |
| | | namespace HStation.WinFrmUI |
| | | { |
| | | public class CreateXhsSchemeValveChangeViewMdoel : Yw.WinFrmUI.HydroValveViewModel |
| | | public class CreateXhsSchemeValveChangeViewMdoel |
| | | { |
| | | public CreateXhsSchemeValveChangeViewMdoel() { } |
| | | public CreateXhsSchemeValveChangeViewMdoel(HydroValveViewModel rhs, SvgImage svg) |
| | | { |
| | | this.ViewModel = rhs; |
| | | this.SvgImage = svg; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 名称 |
| | | /// </summary> |
| | | public string Name |
| | | { |
| | | get { return ViewModel.Name; } |
| | | set { ViewModel.Name = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 模型类型 |
| | | /// </summary> |
| | | public string ModelType |
| | | { |
| | | get { return ViewModel.ModelType; } |
| | | set { ViewModel.ModelType = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 材料 |
| | | /// </summary> |
| | | public string Material |
| | | { |
| | | get { return ViewModel.Material; } |
| | | set { ViewModel.Material = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 直径 |
| | | /// </summary> |
| | | public double Diameter |
| | | { |
| | | get { return ViewModel.Diameter; } |
| | | set { ViewModel.Diameter = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 局阻系数 |
| | | /// </summary> |
| | | public double MinorLoss |
| | | { |
| | | get { return ViewModel.MinorLoss; } |
| | | set { ViewModel.MinorLoss = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 阀门类型 |
| | | /// </summary> |
| | | public string ValveType |
| | | { |
| | | get { return ViewModel.ValveType; } |
| | | set { ViewModel.ValveType = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 阀门开度 |
| | | /// </summary> |
| | | public double OpeningDegree |
| | | { |
| | | get { return ViewModel.OpeningDegree; } |
| | | set { ViewModel.OpeningDegree = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 阀门设置 |
| | | /// </summary> |
| | | public string ValveSetting |
| | | { |
| | | get { return ViewModel.ValveSetting; } |
| | | set { ViewModel.ValveSetting = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 压强设置(m) |
| | | /// </summary> |
| | | public double? ValvePress |
| | | { |
| | | get { return ViewModel.ValvePress; } |
| | | set { ViewModel.ValvePress = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 流量设置(m³/h) |
| | | /// </summary> |
| | | public double? ValveFlow |
| | | { |
| | | get { return ViewModel.ValveFlow; } |
| | | set { ViewModel.ValveFlow = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 状态 |
| | | /// </summary> |
| | | public string LinkStatus |
| | | { |
| | | get { return ViewModel.LinkStatus; } |
| | | set { ViewModel.LinkStatus = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ViewMdoel |
| | | /// </summary> |
| | | public HydroValveViewModel ViewModel { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 图片 |
| | | /// </summary> |
| | | public SvgImage SvgImage { get; set; } |
| | | |
| | | } |
| | | } |