C# Class Opc.Ua.Server.MinMaxAggregateCalculator

Calculates the value of an aggregate.
Inheritance: AggregateCalculator
Afficher le fichier Open project: OPCFoundation/UA-.NET

Méthodes publiques

Méthode Description
MinMaxAggregateCalculator ( NodeId aggregateId, System.DateTime startTime, System.DateTime endTime, double processingInterval, bool stepped, AggregateConfiguration configuration ) : System

Initializes the aggregate calculator.

Méthodes protégées

Méthode Description
ComputeMinMax ( Opc.Ua.Server.TimeSlice slice, int valueType, bool returnActualTime ) : DataValue

Calculate the Minimum, Maximum, MinimumActualTime and MaximumActualTime aggregates for the timeslice.

ComputeMinMax2 ( Opc.Ua.Server.TimeSlice slice, int valueType, bool returnActualTime ) : DataValue

Calculate the Minimum2, Maximum2, MinimumActualTime2, MaximumActualTime2 and Range2 aggregates for the timeslice.

ComputeValue ( Opc.Ua.Server.TimeSlice slice ) : DataValue

Computes the value for the timeslice.

Method Details

ComputeMinMax() protected méthode

Calculate the Minimum, Maximum, MinimumActualTime and MaximumActualTime aggregates for the timeslice.
protected ComputeMinMax ( Opc.Ua.Server.TimeSlice slice, int valueType, bool returnActualTime ) : DataValue
slice Opc.Ua.Server.TimeSlice
valueType int
returnActualTime bool
Résultat DataValue

ComputeMinMax2() protected méthode

Calculate the Minimum2, Maximum2, MinimumActualTime2, MaximumActualTime2 and Range2 aggregates for the timeslice.
protected ComputeMinMax2 ( Opc.Ua.Server.TimeSlice slice, int valueType, bool returnActualTime ) : DataValue
slice Opc.Ua.Server.TimeSlice
valueType int
returnActualTime bool
Résultat DataValue

ComputeValue() protected méthode

Computes the value for the timeslice.
protected ComputeValue ( Opc.Ua.Server.TimeSlice slice ) : DataValue
slice Opc.Ua.Server.TimeSlice
Résultat DataValue

MinMaxAggregateCalculator() public méthode

Initializes the aggregate calculator.
public MinMaxAggregateCalculator ( NodeId aggregateId, System.DateTime startTime, System.DateTime endTime, double processingInterval, bool stepped, AggregateConfiguration configuration ) : System
aggregateId NodeId The aggregate function to apply.
startTime System.DateTime The start time.
endTime System.DateTime The end time.
processingInterval double The processing interval.
stepped bool Whether to use stepped interpolation.
configuration AggregateConfiguration The aggregate configuration.
Résultat System