|
| MinMaxAggregateCalculator (NodeId aggregateId, DateTime startTime, DateTime endTime, double processingInterval, bool stepped, AggregateConfiguration configuration) |
| Initializes the aggregate calculator. More...
|
|
| AggregateCalculator (NodeId aggregateId, DateTime startTime, DateTime endTime, double processingInterval, bool stepped, AggregateConfiguration configuration) |
| Initializes the calculation stream. More...
|
|
bool | QueueRawValue (DataValue value) |
| Queues a raw value for processing. More...
|
|
DataValue | GetProcessedValue (bool returnPartial) |
| Returns the next processed value. More...
|
|
bool | HasEndTimePassed (DateTime currentTime) |
| Returns true if the specified time is later than the end of the current interval. More...
|
|
|
override DataValue | ComputeValue (TimeSlice slice) |
| Computes the value for the time slice. More...
|
|
DataValue | ComputeMinMax (TimeSlice slice, int valueType, bool returnActualTime) |
| Calculate the Minimum, Maximum, MinimumActualTime and MaximumActualTime aggregates for the time slice. More...
|
|
DataValue | ComputeMinMax2 (TimeSlice slice, int valueType, bool returnActualTime) |
| Calculate the Minimum2, Maximum2, MinimumActualTime2, MaximumActualTime2 and Range2 aggregates for the time slice. More...
|
|
| AggregateCalculator (NodeId aggregateId) |
| Creates a default aggregator. More...
|
|
void | Initialize (NodeId aggregateId, DateTime startTime, DateTime endTime, double processingInterval, bool stepped, AggregateConfiguration configuration) |
| Initializes the calculation stream. More...
|
|
int | CompareTimestamps (DataValue value1, DataValue value2) |
| Compares timestamps for two DataValues according to the current UseServerTimestamp setting. More...
|
|
int | CompareTimestamps (DataValue value1, LinkedListNode< DataValue > value2) |
| Compares timestamps for two DataValues according to the current UseServerTimestamp setting. More...
|
|
int | CompareTimestamps (LinkedListNode< DataValue > value1, LinkedListNode< DataValue > value2) |
| Compares timestamps for two DataValues according to the current UseServerTimestamp setting. More...
|
|
int | CompareTimestamps (DateTime value1, LinkedListNode< DataValue > value2) |
| Compares timestamps for a timestamp to a DataValue according to the current UseServerTimestamp setting. More...
|
|
bool | IsGood (DataValue value) |
| Checks if the value is good according to the configuration rules. More...
|
|
TimeSlice | CreateSlice (TimeSlice previousSlice) |
| Creates a new time slice to process. More...
|
|
bool | UpdateSlice (TimeSlice slice) |
| Creates a new time slice to process. More...
|
|
DataValue | Interpolate (TimeSlice slice) |
| Calculate the interpolate aggregate for the time slice. More...
|
|
DataValue | GetNoDataValue (TimeSlice slice) |
| Return a value indicating there is no data in the time slice. More...
|
|
DateTime | GetTimestamp (TimeSlice slice) |
| Returns the timestamp to use for the slice value. More...
|
|
DataValue | GetNoDataValue (DateTime timestamp) |
| Return a value indicating there is no data in the time slice. More...
|
|
DataValue | Interpolate (DateTime timestamp, TimeSlice reference) |
| Interpolates a value at the timestamp. More...
|
|
DataValue | GetSimpleBound (DateTime timestamp, TimeSlice slice) |
| Returns the simple bound for the timestamp. More...
|
|
List< DataValue > | GetValuesWithSimpleBounds (TimeSlice slice) |
| Returns the values in the list with simple bounds. More...
|
|
List< DataValue > | GetValues (TimeSlice slice) |
| Returns the values between the start time and the end time for the slice. More...
|
|
List< DataValue > | GetValuesWithInterpolatedBounds (TimeSlice slice) |
| Returns the values in the list with interpolated bounds. More...
|
|
List< SubRegion > | GetRegionsInValueSet (List< DataValue > values, bool ignoreBadData, bool useSteppedCalculations) |
| Returns the values in the list with simple bounds. More...
|
|
StatusCode | GetValueBasedStatusCode (TimeSlice slice, List< DataValue > values, StatusCode statusCode) |
| Calculates the value based status code for the slice More...
|
|
StatusCode | GetTimeBasedStatusCode (TimeSlice slice, List< DataValue > values, StatusCode defaultCode) |
| Calculates the status code for the slice More...
|
|
StatusCode | GetTimeBasedStatusCode (List< SubRegion > regions, StatusCode statusCode) |
| Calculates the status code for the slice More...
|
|
Calculates the value of an aggregate.