namespace IStation.Model
{
///
/// 调度组合
///
[SplitTable(SplitType._Custom01)]
public class ScheduleCombine : Model.BaseModel
{
public ScheduleCombine() { }
public ScheduleCombine(ScheduleCombine rhs)
{
this.ID = rhs.ID;
this.Pump1 = rhs.Pump1;
this.Pump2 = rhs.Pump2;
this.Pump3 = rhs.Pump3;
this.Head = rhs.Head;
this.Flow = rhs.Flow;
this.Power = rhs.Power;
this.WP = rhs.WP;
this.UWP = rhs.UWP;
//this.IsExtend = rhs.IsExtend;
//this.ExtendRatio = rhs.ExtendRatio;
}
public void Round()
{
this.Pump1 = Math.Round(this.Pump1, 1);
this.Pump2 = Math.Round(this.Pump2, 1);
this.Pump3 = Math.Round(this.Pump3, 1);
this.Head = Math.Round(this.Head, 1);
this.Flow = Math.Round(this.Flow, 1);
this.Power = Math.Round(this.Power, 1);
this.WP = Math.Round(this.WP, 1);
this.UWP = Math.Round(this.UWP, 1);
}
///
/// 运行标志 (标志枚举)
///
[SplitField]
public string RunFlag { get; set; }
// public int RunFlag { get; set; }
///
/// 泵1
///
public double Pump1 { get; set; }
///
/// 泵2
///
public double Pump2 { get; set; }
///
/// 泵3
///
public double Pump3 { get; set; }
///
/// 扬程
///
public double Head { get; set; }
///
/// 总流量
///
public double Flow { get; set; }
///
/// 总功率
///
public double Power { get; set; }
///
/// 千吨水能耗
///
public double WP { get; set; }
///
/// 单位能耗
///
public double UWP { get; set; }
/////
///// 是否延长
/////
//public bool IsExtend { get; set; }
/////
///// 延长比
/////
//public double ExtendRatio { get; set; }
public DateTime CreateTime { get; set; }
}
}