C# Class Opc.Ua.Server.StartEndAggregateCalculator

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

Public Methods

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

Initializes the aggregate calculator.

Protected Methods

Method Description
ComputeDelta ( Opc.Ua.Server.TimeSlice slice ) : DataValue

Calculates the Delta aggregate for the timeslice.

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

Calculates the Delta2 aggregate for the timeslice.

ComputeStartEnd ( Opc.Ua.Server.TimeSlice slice, bool returnEnd ) : DataValue

Calculate the Start and End aggregates for the timeslice.

ComputeStartEnd2 ( Opc.Ua.Server.TimeSlice slice, bool returnEnd ) : DataValue

Calculate the Start2 and End2 aggregates for the timeslice.

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

Computes the value for the timeslice.

Method Details

ComputeDelta() protected method

Calculates the Delta aggregate for the timeslice.
protected ComputeDelta ( Opc.Ua.Server.TimeSlice slice ) : DataValue
slice Opc.Ua.Server.TimeSlice
return DataValue

ComputeDelta2() protected method

Calculates the Delta2 aggregate for the timeslice.
protected ComputeDelta2 ( Opc.Ua.Server.TimeSlice slice ) : DataValue
slice Opc.Ua.Server.TimeSlice
return DataValue

ComputeStartEnd() protected method

Calculate the Start and End aggregates for the timeslice.
protected ComputeStartEnd ( Opc.Ua.Server.TimeSlice slice, bool returnEnd ) : DataValue
slice Opc.Ua.Server.TimeSlice
returnEnd bool
return DataValue

ComputeStartEnd2() protected method

Calculate the Start2 and End2 aggregates for the timeslice.
protected ComputeStartEnd2 ( Opc.Ua.Server.TimeSlice slice, bool returnEnd ) : DataValue
slice Opc.Ua.Server.TimeSlice
returnEnd bool
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

StartEndAggregateCalculator() public method

Initializes the aggregate calculator.
public StartEndAggregateCalculator ( 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