namespace Yw.WinFrmUI.Phart
{
///
///
///
public class PumpChartEquipViewModel
{
public PumpChartEquipViewModel() { }
public PumpChartEquipViewModel(PumpChartEquipViewModel rhs)
{
this.Id = rhs.Id;
this.CurveName = rhs.CurveName;
this.Color = rhs.Color;
this.CurveEquip = rhs.CurveEquip;
this.PointEquip = rhs.PointEquip;
}
///
/// 标识
///
public string Id { get; set; }
///
/// 标题
///
public string CurveName { get; set; }
///
/// 颜色
///
public Color? Color { get; set; }
///
/// 装置线
///
public List CurveEquip { get; set; }
///
/// 装置点
///
public Yw.Geometry.Point2d PointEquip { get; set; }
public bool IsValid()
{
if (this.CurveEquip == null)
{
return false;
}
return true;
}
}
}