using IStation.CalcModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IStation.CalcModel { public class AnaRequest { public eCalcOptType CalcOptType { get; set; } public DateTime StartTime { get; set; } public DateTime EndTime { get; set; } public List WaterLevels长江 { get; set; } public int StartOpenCount { get; set; } = -1; public double? TotalFlow取水总量 { get; set; }//单位 吨 public double CurrentWaterBoxLevel { get; set; }//当前水库水位 public double? MaxLimitWaterBoxLevel { get; set; }//最高水库水位限制 public double? MinLimitWaterBoxLevel { get; set; }//最低水库水位限制 //public double ReservoirTotalFlow { get; set; }//用水总量 单位 吨 public List ReservoirDropFlow { get; set; }//水池排水时间流量 public List ReservoirMinLimitHours { get; set; } public List ReservoirMaxLimitHours { get; set; } //自定义的开机策略 public List ManuPrjTimeBlockList { get; set; } } public class AnaRequestBase { public AnaRequestBase() { } public AnaRequestBase(AnaRequest rhs) { this.CalcOptType = rhs.CalcOptType; this.StartTime = rhs.StartTime; this.EndTime = rhs.EndTime; this.StartOpenCount = rhs.StartOpenCount; this.TotalFlow取水总量 = rhs.TotalFlow取水总量; this.CurrentWaterBoxLevel = rhs.CurrentWaterBoxLevel; this.MaxLimitWaterBoxLevel = rhs.MaxLimitWaterBoxLevel; this.MinLimitWaterBoxLevel = rhs.MinLimitWaterBoxLevel; this.ReservoirDropFlow = rhs.ReservoirDropFlow; this.ReservoirMinLimitHours = rhs.ReservoirMinLimitHours; this.ReservoirMaxLimitHours = rhs.ReservoirMaxLimitHours; } public eCalcOptType CalcOptType { get; set; } public DateTime StartTime { get; set; } public DateTime EndTime { get; set; } public int StartOpenCount { get; set; } = -1; public double? TotalFlow取水总量 { get; set; }//单位 吨 public double CurrentWaterBoxLevel { get; set; }//当前水库水位 public double? MaxLimitWaterBoxLevel { get; set; }//最高水库水位限制 public double? MinLimitWaterBoxLevel { get; set; }//最低水库水位限制 public List ReservoirDropFlow { get; set; }//水池排水时间流量 public List ReservoirMinLimitHours { get; set; } public List ReservoirMaxLimitHours { get; set; } } }