C# Класс Opc.Ua.Server.AverageAggregateCalculator

Calculates the value of an aggregate.
Наследование: AggregateCalculator
Показать файл Открыть проект

Открытые методы

Метод Описание
AverageAggregateCalculator ( NodeId aggregateId, System.DateTime startTime, System.DateTime endTime, double processingInterval, bool stepped, AggregateConfiguration configuration ) : System

Initializes the aggregate calculator.

Защищенные методы

Метод Описание
ComputeAverage ( Opc.Ua.Server.TimeSlice slice ) : DataValue

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

ComputeTimeAverage ( Opc.Ua.Server.TimeSlice slice, bool useSimpleBounds, 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.

Описание методов

AverageAggregateCalculator() публичный Метод

Initializes the aggregate calculator.
public AverageAggregateCalculator ( 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.
Результат System

ComputeAverage() защищенный Метод

Calculates the RegSlope, RegConst and RegStdDev aggregates for the timeslice.
protected ComputeAverage ( Opc.Ua.Server.TimeSlice slice ) : DataValue
slice Opc.Ua.Server.TimeSlice
Результат DataValue

ComputeTimeAverage() защищенный Метод

Calculates the StdDev, Variance, StdDev2 and Variance2 aggregates for the timeslice.
protected ComputeTimeAverage ( Opc.Ua.Server.TimeSlice slice, bool useSimpleBounds, int valueType ) : DataValue
slice Opc.Ua.Server.TimeSlice
useSimpleBounds bool
valueType int
Результат DataValue

ComputeValue() защищенный Метод

Computes the value for the timeslice.
protected ComputeValue ( Opc.Ua.Server.TimeSlice slice ) : DataValue
slice Opc.Ua.Server.TimeSlice
Результат DataValue