namespace Yw.WinFrmUI.Phart
{
///
///
///
public class PumpCurveEquipViewModel
{
public PumpCurveEquipViewModel() { }
public PumpCurveEquipViewModel(PumpCurveEquipViewModel rhs)
{
this.Id = rhs.Id;
this.CurveName = rhs.CurveName;
this.Color = rhs.Color;
this.StartH = rhs.StartH;
this.PipeQ = rhs.PipeQ;
this.PipeH = rhs.PipeH;
this.SectQ = rhs.SectQ;
this.SectH = rhs.SectH;
this.SectE = rhs.SectE;
this.SectP = rhs.SectP;
this.CurveEquip = rhs.CurveEquip;
}
///
/// 标识
///
public string Id { get; set; }
///
/// 标题
///
public string CurveName { get; set; }
///
/// 颜色
///
public Color? Color { get; set; }
///
/// 起始扬程
///
public double StartH { get; set; }
///
/// 总管流量
///
public double PipeQ { get; set; }
///
/// 总管扬程
///
public double PipeH { get; set; }
///
/// 流量交点
///
public double SectQ { get; set; }
///
/// 扬程交点
///
public double SectH { get; set; }
///
/// 效率交点
///
public double? SectE { get; set; }
///
/// 功率交点
///
public double? SectP { get; set; }
///
/// 装置线
///
public List CurveEquip { get; set; }
public bool IsValid()
{
if (this.CurveEquip == null)
{
return false;
}
return true;
}
}
}