Table of Contents

Namespace Skyline.DataMiner.Utils.Rates.Common

Classes

Counter32WithDateTime

Class Counter32WithDateTime used by RateHelper classes in order to keep uint counters together with their DateTime.

Counter32WithTimeSpan

Class Counter32WithTimeSpan used by RateHelper classes in order to keep uint counters together with their TimeSpan.

Counter64WithDateTime

Class Counter64WithDateTime used by RateHelper classes in order to keep ulong counters together with their DateTime.

Counter64WithTimeSpan

Class Counter64WithTimeSpan used by RateHelper classes in order to keep ulong counters together with their TimeSpan.

CounterWithDateTime<T>

Class CounterWithDateTime<T> used by RateHelper classes in order to keep counters data together with DateTime.

This class is meant to be used as base class for more specific counter classes depending on the range of counters (uint, ulong, etc).
CounterWithTimeSpan<T>

Class CounterWithTimeSpan<T> used by RateHelper classes in order to keep counters data together with TimeSpan.

This class is meant to be used as base class for more specific counter classes depending on the range of counters (uint, ulong, etc).
Rate32OnDateTime

Allows calculating rates of all sorts (bit rates, counter rates, etc) based on uint counters and DateTime values.

Rate32OnTimeSpan

Allows calculating rates of all sorts (bit rates, counter rates, etc) based on uint counters and TimeSpan values.

Rate64OnDateTime

Allows calculating rates of all sorts (bit rates, counter rates, etc) based on ulong counters and DateTime values.

Rate64OnTimeSpan

Allows calculating rates of all sorts (bit rates, counter rates, etc) based on ulong counters and TimeSpan values.

RateCounter<T>

Class RateCounter<T> used by RateHelper classes in order to keep counters data.

This class is meant to be used as base class for more specific counter classes depending on
- The range of counters (uint, ulong, etc)
- The type of timing info (DateTime, TimeSpan).
RateHelper<T, U>

Class RateHelper<T, U> helps calculating rates of all sorts (bit rates, counter rates, etc) based on counters.

This class is meant to be used as base class for more specific RateHelpers depending on
- The range of counters (uint, ulong, etc)
- The type of timing info (DateTime, TimeSpan).
RateOnDateTime<T, U>

Class RateOnDateTime<T, U> helps calculating rates of all sorts (bit rates, counter rates, etc) based on counters and DateTimes.

This class is meant to be used as base class for more specific RateHelpers depending on the range of counters (uint, ulong, etc).
RateOnTimeSpan<T, U>

Class RateOnTimeSpan<T, U> helps calculating rates of all sorts (bit rates, counter rates, etc) based on counters and TimeSpans.

This class is meant to be used as base class for more specific RateHelpers depending on the range of counters (uint, ulong, etc).

Enums

RateBase

Determines whether the rate should be calculated per second, minute, hour or day.