| | |
| | | /// <summary> |
| | | /// 水泵属性视图 |
| | | /// </summary> |
| | | public class HydroPumpPropertyViewModel : HydroParterPropertyViewModel |
| | | public class HydroPumpPropertyViewModel : HydroParterPropertyViewModel, IHydroLinkPropertyViewModel |
| | | { |
| | | /// <summary> |
| | | /// |
| | |
| | | /// </summary> |
| | | public HydroPumpPropertyViewModel(Yw.Model.HydroPumpInfo rhs) : base(rhs) |
| | | { |
| | | |
| | | this.StartCode = rhs.StartCode; |
| | | this.EndCode = rhs.EndCode; |
| | | this.LinkStatus = rhs.LinkStatus; |
| | | this.RatedPower = rhs.RatedPower; |
| | | this.CurveQH = rhs.CurveQH; |
| | | this.SpeedRatio = rhs.SpeedRatio; |
| | | this.SpeedRatioPattern = rhs.SpeedRatioPattern; |
| | | this.Price = rhs.Price; |
| | | this.PricePattern = rhs.PricePattern; |
| | | this.CurveQE = rhs.CurveQE; |
| | | } |
| | | |
| | | // |
| | | // 摘要: |
| | | // 上游节点 |
| | | /// <summary> |
| | | /// 上游节点编码 |
| | | /// </summary> |
| | | [Category("基础信息")] |
| | | [DisplayName("上游节点编码")] |
| | | [PropertyOrder(11)] |
| | | [Browsable(true)] |
| | | public string StartCode { get; set; } |
| | | |
| | | // |
| | | // 摘要: |
| | | // 下游节点 |
| | | /// <summary> |
| | | /// 下游节点编码 |
| | | /// </summary> |
| | | [Category("基础信息")] |
| | | [DisplayName("下游节点编码")] |
| | | [PropertyOrder(12)] |
| | | [Browsable(true)] |
| | | public string EndCode { get; set; } |
| | | |
| | | // |
| | | // 摘要: |
| | | // 管段状态 |
| | | /// <summary> |
| | | /// 水泵状态 |
| | | /// </summary> |
| | | [Category("数据")] |
| | | [DisplayName("水泵状态")] |
| | | [PropertyOrder(13)] |
| | | [Browsable(true)] |
| | | public string LinkStatus { get; set; } |
| | | |
| | | // |
| | | // 摘要: |
| | | // 额定功率 |
| | | /// <summary> |
| | | /// 额定功率 |
| | | /// </summary> |
| | | [Category("数据")] |
| | | [DisplayName("额定功率")] |
| | | [PropertyOrder(14)] |
| | | [Browsable(true)] |
| | | public double RatedPower { get; set; } |
| | | |
| | | // |
| | | // 摘要: |
| | | // 流量扬程曲线 |
| | | /// <summary> |
| | | /// 流量扬程曲线 |
| | | /// </summary> |
| | | [Category("数据")] |
| | | [DisplayName("流量扬程曲线")] |
| | | [PropertyOrder(15)] |
| | | [Browsable(true)] |
| | | public string CurveQH { get; set; } |
| | | |
| | | // |
| | | // 摘要: |
| | | // 相对转速设置 |
| | | /// <summary> |
| | | /// 转速比 |
| | | /// </summary> |
| | | [Category("数据")] |
| | | [DisplayName("转速比")] |
| | | [PropertyOrder(16)] |
| | | [Browsable(true)] |
| | | public double? SpeedRatio { get; set; } |
| | | |
| | | // |
| | | // 摘要: |
| | | // 转速比模式 |
| | | /// <summary> |
| | | /// 转速比模式 |
| | | /// </summary> |
| | | [Category("数据")] |
| | | [DisplayName("转速比模式")] |
| | | [PropertyOrder(17)] |
| | | [Browsable(true)] |
| | | public string SpeedRatioPattern { get; set; } |
| | | |
| | | // |
| | | // 摘要: |
| | | // 能耗价格 |
| | | /// <summary> |
| | | /// 能耗价格 |
| | | /// </summary> |
| | | [Category("数据")] |
| | | [DisplayName("能耗价格")] |
| | | [PropertyOrder(18)] |
| | | [Browsable(true)] |
| | | public double? Price { get; set; } |
| | | |
| | | // |
| | | // 摘要: |
| | | // 价格模式 |
| | | /// <summary> |
| | | /// 价格模式 |
| | | /// </summary> |
| | | [Category("数据")] |
| | | [DisplayName("价格模式")] |
| | | [PropertyOrder(19)] |
| | | [Browsable(true)] |
| | | public string PricePattern { get; set; } |
| | | |
| | | // |
| | | // 摘要: |
| | | // 流量效率曲线 |
| | | /// <summary> |
| | | /// 流量效率曲线 |
| | | /// </summary> |
| | | [Category("数据")] |
| | | [DisplayName("流量效率曲线")] |
| | | [PropertyOrder(20)] |
| | | [Browsable(true)] |
| | | public string CurveQE { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 流量 |
| | | /// </summary> |
| | | [Category("计算结果")] |
| | | [DisplayName("流量")] |
| | | [PropertyOrder(101)] |
| | | [Browsable(true)] |
| | | public double? CalcuFlow { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 流速 |
| | | /// </summary> |
| | | [Category("计算结果")] |
| | | [DisplayName("流速")] |
| | | [PropertyOrder(102)] |
| | | [Browsable(true)] |
| | | public double? CalcuVelocity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 水头损失 |
| | | /// </summary> |
| | | [Category("计算结果")] |
| | | [DisplayName("水头损失")] |
| | | [PropertyOrder(103)] |
| | | [Browsable(true)] |
| | | public double? CalcuHeadLoss { get; set; } |
| | | |
| | | } |
| | | } |