public PBRDataHH(DateTime dateStart, DateTime dateEnd, GTPEnum gtpIndex) { DateStart = dateStart.Date.AddHours(dateStart.Hour); DateEnd = dateEnd.Date.AddHours(dateEnd.Hour); GTPIndex = gtpIndex; RealPBR = new SortedList<DateTime, double>(); HalfHoursP = new SortedList<DateTime, double>(); HoursP = new SortedList<DateTime, double>(); HalfHoursPBR = new SortedList<DateTime, double>(); HoursPBR = new SortedList<DateTime, double>(); }
public PBRData(DateTime dateStart, DateTime dateEnd, DateTime date, GTPEnum gtp) { DateStart = dateStart.Date.AddHours(dateStart.Hour); DateEnd = dateEnd.Date.AddHours(dateEnd.Hour); Date = date; GTPIndex = gtp; RealPBR = new SortedList<DateTime, double>(); SteppedPBR = new SortedList<DateTime, double>(); MinutesPBR = new SortedList<DateTime, double>(); ChangePBR = new SortedList<DateTime, bool>(); RealP = new SortedList<DateTime, double>(); IntegratedP = new SortedList<DateTime, double>(); IntegratedPBR = new SortedList<DateTime, double>(); }