C# Class Opc.Ua.Server.StdDevAggregateCalculator

Calculates the value of an aggregate.
Inheritance: AggregateCalculator
ファイルを表示 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
StdDevAggregateCalculator ( NodeId aggregateId, System.DateTime startTime, System.DateTime endTime, double processingInterval, bool stepped, AggregateConfiguration configuration ) : System

Initializes the aggregate calculator.

Protected Methods

Method Description
ComputeRegression ( Opc.Ua.Server.TimeSlice slice, int valueType ) : DataValue

Calculates the RegSlope, RegConst and RegStdDev aggregates for the timeslice.

ComputeStdDev ( Opc.Ua.Server.TimeSlice slice, bool includeBounds, int valueType ) : DataValue

Calculates the StdDev, Variance, StdDev2 and Variance2 aggregates for the timeslice.

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

Computes the value for the timeslice.

Method Details

ComputeRegression() protected method

Calculates the RegSlope, RegConst and RegStdDev aggregates for the timeslice.
protected ComputeRegression ( Opc.Ua.Server.TimeSlice slice, int valueType ) : DataValue
slice Opc.Ua.Server.TimeSlice
valueType int
return DataValue

ComputeStdDev() protected method

Calculates the StdDev, Variance, StdDev2 and Variance2 aggregates for the timeslice.
protected ComputeStdDev ( Opc.Ua.Server.TimeSlice slice, bool includeBounds, int valueType ) : DataValue
slice Opc.Ua.Server.TimeSlice
includeBounds bool
valueType int
return DataValue

ComputeValue() protected method

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

StdDevAggregateCalculator() public method

Initializes the aggregate calculator.
public StdDevAggregateCalculator ( 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.
return System