Beispiel #1
0
        public IntervalsStore <BreakdownT> .IntervalsBreakdown[] GetIntervals(HistoryPeriod period, DateTime now)
        {
            if (histories.TryGetValue(period, out var store))
            {
                return(store.GetIntervals(now));
            }

            throw new Exception("Unsupported history size.");
        }
Beispiel #2
0
 protected bool Equals(HistoryPeriod other)
 {
     return(Value.Equals(other.Value));
 }