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