Пример #1
0
        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>();
        }
Пример #2
0
 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>();
 }