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

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

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

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

Initializes the aggregate calculator.

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

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

Calculates the AnnotationCount aggregate for the timeslice.

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

Calculates the Count aggregate for the timeslice.

ComputeDurationInState ( Opc.Ua.Server.TimeSlice slice, bool isNonZero ) : DataValue

Calculates the DurationInStateZero and DurationInStateNonZero aggregates for the timeslice.

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

Calculates the Count aggregate for the timeslice.

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

Computes the value for the timeslice.

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

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

Calculates the AnnotationCount aggregate for the timeslice.
protected ComputeAnnotationCount ( Opc.Ua.Server.TimeSlice slice ) : DataValue
slice Opc.Ua.Server.TimeSlice
Результат DataValue

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

Calculates the Count aggregate for the timeslice.
protected ComputeCount ( Opc.Ua.Server.TimeSlice slice ) : DataValue
slice Opc.Ua.Server.TimeSlice
Результат DataValue

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

Calculates the DurationInStateZero and DurationInStateNonZero aggregates for the timeslice.
protected ComputeDurationInState ( Opc.Ua.Server.TimeSlice slice, bool isNonZero ) : DataValue
slice Opc.Ua.Server.TimeSlice
isNonZero bool
Результат DataValue

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

Calculates the Count aggregate for the timeslice.
protected ComputeNumberOfTransitions ( Opc.Ua.Server.TimeSlice slice ) : DataValue
slice Opc.Ua.Server.TimeSlice
Результат DataValue

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

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

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

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