using Yw.Service.Basic;
using Yw.Service.Phart;
using Yw.Service.Assets;
namespace IStation.Server
{
///
/// 能效泵分析上下文项
///
public class EMWSEtaPumpAnalyContextItem
{
///
///
///
public EMWSEtaPumpAnalyContextItem() { }
///
///
///
public EMWSEtaPumpAnalyContextItem(Yw.Model.EquipmentExPropList rhs, List graphList)
{
this.ID = rhs.ID;
this.Name = rhs.Name;
this.Nr = (double?)rhs.GetSysPropValue(Yw.Assets.Prop.Nr);
this.Qr = (double?)rhs.GetSysPropValue(Yw.Assets.Prop.Qr);
this.Hr = (double?)rhs.GetSysPropValue(Yw.Assets.Prop.Hr);
this.Pr = (double?)rhs.GetSysPropValue(Yw.Assets.Prop.Pr);
this.Er = (double?)rhs.GetSysPropValue(Yw.Assets.Prop.Er);
this.Di = (double?)rhs.GetSysPropValue(Yw.Assets.Prop.Di);
this.Dc = (double?)rhs.GetSysPropValue(Yw.Assets.Prop.Dc);
this.Zi = (double?)rhs.GetSysPropValue(Yw.Assets.Prop.Zi);
this.Zc = (double?)rhs.GetSysPropValue(Yw.Assets.Prop.Zc);
this.CurveQH = graphList?.GetSpline(Yw.Phart.eGraphType.MaxQH);
this.CurveQP = graphList?.GetSpline(Yw.Phart.eGraphType.MaxQP);
this.CurveQE = graphList?.GetSpline(Yw.Phart.eGraphType.MaxQE);
}
///
/// id
///
public long ID { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 额定转速
///
public double? Nr { get; set; }
///
/// 额定流量
///
public double? Qr { get; set; }
///
/// 额定扬程
///
public double? Hr { get; set; }
///
/// 额定功率
///
public double? Pr { get; set; }
///
/// 额定效率
///
public double? Er { get; set; }
///
/// 进口口径 mm
///
public double? Di { get; set; }
///
/// 出口口径 mm
///
public double? Dc { get; set; }
///
/// 进口标高
///
public double? Zi { get; set; }
///
/// 出口标高
///
public double? Zc { get; set; }
///
/// 流量扬程曲线表达式
///
public SplineBase CurveQH { get; set; }
///
/// 流量效率曲线表达式
///
public SplineBase CurveQE { get; set; }
///
/// 流量功率曲线表达式
///
public SplineBase CurveQP { get; set; }
///
/// 监测分析上下文项列表
///
public List MonitorContextItemList { get; set; }
}
}