C# 클래스 GSF.TimeSeries.TemporalMeasurement

Represents a time constrained measured value.
상속: Measurement
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
GetAdjustedValue ( Ticks timestamp ) : double

Gets numeric adjusted value of this TemporalMeasurement, constrained within specified ticks.

Operation will return NaN if ticks are outside of time deviation tolerances.

Note that returned value will be offset by adder and multiplier.

GetValue ( Ticks timestamp ) : double

Gets numeric value of this TemporalMeasurement, constrained within specified ticks.

Operation will return NaN if ticks are outside of time deviation tolerances.

SetValue ( Ticks timestamp, double value ) : bool

Sets numeric value and timestamp, as ticks, of this TemporalMeasurement.

Operation will only store a value that is newer than the cached value.

TemporalMeasurement ( IMeasurement measurement, double lagTime, double leadTime ) : System

Constructs a new TemporalMeasurement given the specified parameters.

TemporalMeasurement ( double lagTime, double leadTime ) : System

Constructs a new TemporalMeasurement given the specified parameters.

메소드 상세

GetAdjustedValue() 공개 메소드

Gets numeric adjusted value of this TemporalMeasurement, constrained within specified ticks.

Operation will return NaN if ticks are outside of time deviation tolerances.

Note that returned value will be offset by adder and multiplier.

public GetAdjustedValue ( Ticks timestamp ) : double
timestamp Ticks Timestamp used to constrain (typically set to real-time, i.e. "now").
리턴 double

GetValue() 공개 메소드

Gets numeric value of this TemporalMeasurement, constrained within specified ticks.

Operation will return NaN if ticks are outside of time deviation tolerances.

public GetValue ( Ticks timestamp ) : double
timestamp Ticks Timestamp, in ticks, used to constrain (typically set to real-time, i.e. "now").
리턴 double

SetValue() 공개 메소드

Sets numeric value and timestamp, as ticks, of this TemporalMeasurement.

Operation will only store a value that is newer than the cached value.

public SetValue ( Ticks timestamp, double value ) : bool
timestamp Ticks New timestamp, in ticks, for .
value double New value for , only stored if are newer than current .
리턴 bool

TemporalMeasurement() 공개 메소드

Constructs a new TemporalMeasurement given the specified parameters.
public TemporalMeasurement ( IMeasurement measurement, double lagTime, double leadTime ) : System
measurement IMeasurement Source value.
lagTime double Past time deviation tolerance, in seconds - this becomes the amount of time to wait before publishing begins.
leadTime double Future time deviation tolerance, in seconds - this becomes the tolerated +/- accuracy of the local clock to real-time.
리턴 System

TemporalMeasurement() 공개 메소드

Constructs a new TemporalMeasurement given the specified parameters.
public TemporalMeasurement ( double lagTime, double leadTime ) : System
lagTime double Past time deviation tolerance, in seconds - this becomes the amount of time to wait before publishing begins.
leadTime double Future time deviation tolerance, in seconds - this becomes the tolerated +/- accuracy of the local clock to real-time.
리턴 System