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

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

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

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

Initializes the aggregate calculator.

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

Метод Описание
ComputeDurationGoodBad ( Opc.Ua.Server.TimeSlice slice, bool isBad, bool usePercent ) : DataValue

Calculates the DurationGood and DurationBad aggregates for the timeslice.

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

Computes the value for the timeslice.

ComputeWorstQuality ( Opc.Ua.Server.TimeSlice slice, bool includeBounds ) : DataValue

Calculates the DurationGood and DurationBad aggregates for the timeslice.

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

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

Calculates the DurationGood and DurationBad aggregates for the timeslice.
protected ComputeDurationGoodBad ( Opc.Ua.Server.TimeSlice slice, bool isBad, bool usePercent ) : DataValue
slice Opc.Ua.Server.TimeSlice
isBad bool
usePercent bool
Результат DataValue

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

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

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

Calculates the DurationGood and DurationBad aggregates for the timeslice.
protected ComputeWorstQuality ( Opc.Ua.Server.TimeSlice slice, bool includeBounds ) : DataValue
slice Opc.Ua.Server.TimeSlice
includeBounds bool
Результат DataValue

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

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