C++ Based OPC UA Client/Server/PubSub SDK
1.7.8.584
|
Calculates the value of minumim and maximum aggregates. More...
#include <aggregatecalculatorminmax.h>
Inherits AggregateCalculator.
Public Member Functions | |
AggregateCalculatorMinMax (UaNodeId aggregateId, UaDateTime startTime, UaDateTime endTime, double processingInterval, bool stepped, OpcUa_AggregateConfiguration &configuration) | |
Initializes the aggregate calculator. More... | |
bool | UsesInterpolatedBounds () |
Indicates whether this aggregate uses Interpolated Bounding Values. More... | |
Static Public Member Functions | |
static AggregateCalculatorInterface * | CreateCalculator (UaNodeId aggregateId, UaDateTime startTime, UaDateTime endTime, double processingInterval, bool stepped, OpcUa_AggregateConfiguration &configuration) |
Used by the Aggregators factory to create a new instance of the aggregate calculator. More... | |
Protected Member Functions | |
UaDataValue | ComputeValue (TimeSlice &slice) |
Computes the value for the timeslice. More... | |
UaDataValue | ComputeMinMax (TimeSlice &slice, int valueType, bool returnActualTime) |
Calculate the Minimum, Maximum, MinimumActualTime and MaximumActualTime aggregates for the timeslice. More... | |
UaDataValue | ComputeMinMax2 (TimeSlice &slice, int valueType, bool returnActualTime) |
Calculate the Minimum2, Maximum2, MinimumActualTime2, MaximumActualTime2 and Range2 aggregates for the timeslice. More... | |
Calculates the value of minumim and maximum aggregates.
This class covers the aggregates Minimum, Maximum, MinimumActualTime, MaximumActualTime, Range, Minimum2, Maximum2, MinimumActualTime2, MaximumActualTime2 and Range2.
AggregateCalculatorMinMax::AggregateCalculatorMinMax | ( | UaNodeId | aggregateId, |
UaDateTime | startTime, | ||
UaDateTime | endTime, | ||
double | processingInterval, | ||
bool | stepped, | ||
OpcUa_AggregateConfiguration & | configuration | ||
) |
Initializes the aggregate calculator.
aggregateId | The aggregate function to apply. |
startTime | The start time. |
endTime | The end time. |
processingInterval | The processing interval. |
stepped | Whether to use stepped interpolation. |
configuration | The aggregate configuration. |
|
protected |
Calculate the Minimum, Maximum, MinimumActualTime and MaximumActualTime aggregates for the timeslice.
|
protected |
Calculate the Minimum2, Maximum2, MinimumActualTime2, MaximumActualTime2 and Range2 aggregates for the timeslice.
|
protectedvirtual |
Computes the value for the timeslice.
Reimplemented from AggregateCalculator.
|
static |
Used by the Aggregators factory to create a new instance of the aggregate calculator.
aggregateId | The aggregate function to apply. |
startTime | The start time. |
endTime | The end time. |
processingInterval | The processing interval. |
stepped | Whether to use stepped interpolation. |
configuration | The aggregate configuration. |
|
virtual |
Indicates whether this aggregate uses Interpolated Bounding Values.
Reimplemented from AggregateCalculator.