namespace Yw.WinFrmUI.Phart
{
///
///
///
public class PumpCurveViewModel
{
public PumpCurveViewModel() { }
public PumpCurveViewModel(PumpCurveViewModel rhs)
{
this.Id = rhs.Id;
this.ColorQH = rhs.ColorQH;
this.ColorQE = rhs.ColorQE;
this.ColorQP = rhs.ColorQP;
this.CurveQHName = rhs.CurveQHName;
this.CurveQPName = rhs.CurveQPName;
this.CurveQH = rhs.CurveQH;
this.CurveQE = rhs.CurveQE;
this.CurveQP = rhs.CurveQP;
this.PointListQH = rhs.PointListQH;
this.PointListQE = rhs.PointListQE;
this.PointListQP = rhs.PointListQP;
this.Equip = rhs.Equip;
this.VariableSpeedList = rhs.VariableSpeedList;
this.EqualEffList = rhs.EqualEffList;
//this.EqualPowerList = rhs.EqualPowerList;
}
///
/// 标识
///
public string Id { get; set; }
///
/// 扬程颜色
///
public Color? ColorQH { get; set; }
///
/// 效率颜色
///
public Color? ColorQE { get; set; }
///
/// 功率颜色
///
public Color? ColorQP { get; set; }
///
/// 流量扬程线名称
///
public string CurveQHName { get; set; }
///
/// 流量功率线名称
///
public string CurveQPName { get; set; }
///
/// 流量扬程线
///
public List CurveQH { get; set; }
///
/// 流量效率线
///
public List CurveQE { get; set; }
///
/// 流量功率线
///
public List CurveQP { get; set; }
///
/// 流量扬程点列表
///
public List PointListQH { get; set; }
///
/// 流量效率点列表
///
public List PointListQE { get; set; }
///
/// 流量功率点列表
///
public List PointListQP { get; set; }
///
/// 装置
///
public PumpCurveEquipViewModel Equip { get; set; }
///
/// 变速列表
///
public List VariableSpeedList { get; set; }
///
/// 等效线列表
///
public List EqualEffList { get; set; }
/////
///// 等功率列表
/////
//public List EqualPowerList { get; set; }
///
/// 坐标
///
public PumpCoordinate Coordinate { get; set; }
public bool IsValid()
{
if (this.CurveQH == null)
{
return false;
}
return true;
}
}
}