namespace PBS.WinFrmUI.Hydro.Dispatch.Model
{
///
///
///
public class AnaSchemeItem
{
///
///
///
public AnaSchemeItem()
{
}
///
///
///
///
///
public AnaSchemeItem(MachineDetailEx detail, AnaCurveItem ana)
{
this.MachineID = detail.MachineID;
this.WorkPointQ = ana.WorkPointQ;
this.WorkPointH = ana.WorkPointH;
this.WorkPointE = ana.WorkPointE;
this.WorkPointP = ana.WorkPointP;
this.PumpCurveID = detail.PumpCurveID;
this.PumpID = detail.PumpID;
this.MachineName = detail.MachineName;
this.Frequence = ana.Frequence;
this.IsCurveExtend = ana.IsExtendCurve;
this.RatioExtend = ana.RatioExtend;
this.IsFrequency = detail.IsFrequency;
this.Speed = ana.Speed;
this.CurveInfoQH = ana.CurveInfoQH;
this.CurveInfoQP = ana.CurveInfoQP;
}
///
///
///
///
public void ResetItem(Dispatch.Model.AnaCurveItem ana)
{
this.WorkPointQ = ana.WorkPointQ;
this.WorkPointH = ana.WorkPointH;
this.WorkPointE = ana.WorkPointE;
this.WorkPointP = ana.WorkPointP;
this.Frequence = ana.Frequence;
this.IsCurveExtend = ana.IsExtendCurve;
this.RatioExtend = ana.RatioExtend;
this.Speed = ana.Speed;
this.CurveInfoQH = ana.CurveInfoQH;
this.CurveInfoQP = ana.CurveInfoQP;
}
///
///
///
public long PumpID { get; set; }
public long MachineID { get; set; }
///
///
///
public string MachineName { get; set; }
///
/// 是否是变频泵
///
public bool IsFrequency { get; set; }
///
///
///
public double WorkPointQ { get; set; }
///
/// /
///
public double WorkPointH { get; set; }
///
///
///
public double WorkPointE { get; set; }
///
///
///
public double WorkPointP { get; set; }
///
/// 是否延长线上
///
public bool IsCurveExtend { get; set; }//
///
/// 延长比例
///
public double RatioExtend { get; set; }
///
///
///
public double Frequence { get; set; }
///
///
///
public double Speed { get; set; }
///
///
///
public Yw.Ahart.CubicCurve CurveInfoQH { get; set; }
///
///
///
public Yw.Ahart.CubicCurve CurveInfoQP { get; set; }
public long PumpCurveID { get; set; }
}
}