using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.Calculation.DispatchAna.Model
{
///
///
///
public class AnaSchemeItem
{
///
///
///
public AnaSchemeItem()
{
}
///
///
///
///
///
public AnaSchemeItem(MachineDetail detail, AnaCurveItem ana)
{
this.WorkPointQ = ana.WorkPointQ;
this.WorkPointH = ana.WorkPointH;
this.WorkPointE = ana.WorkPointE;
this.WorkPointP = ana.WorkPointP;
this.PumpID = detail.PumpID;
this.MachineID = detail.MachineID;
this.MachineName = detail.MachineName;
this.Frequence = ana.Frequence;
this.IsCurveExtend = ana.IsExtendCurve;
this.IsFrequency = detail.IsFrequency;
this.Speed = ana.Speed;
}
///
///
///
///
public void ResetItem(Calculation.DispatchAna.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.Speed = ana.Speed;
}
///
///
///
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 Frequence { get; set; }
///
///
///
public double Speed { get; set; }
}
}