C# 클래스 Opc.Ua.Server.StatusAggregateCalculator

Calculates the value of an aggregate.
상속: AggregateCalculator
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET

공개 메소드들

메소드 설명
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