C# 클래스 GSF.TimeSeries.Measurement

상속: IMeasurement
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Undefined Measurement

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AverageAngleValueFilter ( IEnumerable source ) : double

Calculates an average of the specified sequence of IMeasurement phase angle values.

Phase angles wrap, so this algorithm takes the wrapping into account when calculating the average.

AverageValueFilter ( IEnumerable source ) : double

Calculates an average of the specified sequence of IMeasurement values.

Clone ( IMeasurement measurementToClone ) : Measurement

Creates a copy of the specified measurement.

Clone ( IMeasurement measurementToClone, Ticks timestamp ) : Measurement

Creates a copy of the specified measurement using a new timestamp.

Clone ( IMeasurement measurementToClone, double value, Ticks timestamp ) : Measurement

Creates a copy of the specified measurement using a new value and timestamp.

CompareTo ( ITimeSeriesValue other ) : int

Compares the Measurement with an ITimeSeriesValue.

Measurement implementations should compare by hash code.

CompareTo ( object obj ) : int

Compares the Measurement with the specified Object.

Measurement implementations should compare by hash code.

Equals ( ITimeSeriesValue other ) : bool

Determines whether the specified ITimeSeriesValue is equal to the current Measurement.

Equals ( object obj ) : bool

Determines whether the specified Object is equal to the current Measurement.

GetHashCode ( ) : int

Serves as a hash function for the current Measurement.

Hash code based on value of measurement.

MajorityValueFilter ( IEnumerable source ) : double

Returns the majority value of the specified sequence of IMeasurement values.

Measurement ( ) : System

Constructs a new Measurement using default settings.

ToString ( ) : string

Returns a String that represents the current Measurement.

ToString ( IMeasurement measurement, bool includeTagName = true ) : string

Returns a String that represents the specified IMeasurement.

operator ( ) : bool

Compares two Measurement values for equality.

메소드 상세

AverageAngleValueFilter() 공개 정적인 메소드

Calculates an average of the specified sequence of IMeasurement phase angle values.
Phase angles wrap, so this algorithm takes the wrapping into account when calculating the average.
public static AverageAngleValueFilter ( IEnumerable source ) : double
source IEnumerable Sequence of values over which to run calculation.
리턴 double

AverageValueFilter() 공개 정적인 메소드

Calculates an average of the specified sequence of IMeasurement values.
public static AverageValueFilter ( IEnumerable source ) : double
source IEnumerable Sequence of values over which to run calculation.
리턴 double

Clone() 공개 정적인 메소드

Creates a copy of the specified measurement.
public static Clone ( IMeasurement measurementToClone ) : Measurement
measurementToClone IMeasurement Specified measurement to clone.
리턴 Measurement

Clone() 공개 정적인 메소드

Creates a copy of the specified measurement using a new timestamp.
public static Clone ( IMeasurement measurementToClone, Ticks timestamp ) : Measurement
measurementToClone IMeasurement Specified measurement to clone.
timestamp Ticks New timestamp, in ticks, for cloned measurement.
리턴 Measurement

Clone() 공개 정적인 메소드

Creates a copy of the specified measurement using a new value and timestamp.
public static Clone ( IMeasurement measurementToClone, double value, Ticks timestamp ) : Measurement
measurementToClone IMeasurement Specified measurement to clone.
value double New value for cloned measurement.
timestamp Ticks New timestamp, in ticks, for cloned measurement.
리턴 Measurement

CompareTo() 공개 메소드

Compares the Measurement with an ITimeSeriesValue.
Measurement implementations should compare by hash code.
public CompareTo ( ITimeSeriesValue other ) : int
other ITimeSeriesValue The to compare with the current .
리턴 int

CompareTo() 공개 메소드

Compares the Measurement with the specified Object.
Measurement implementations should compare by hash code.
is not an .
public CompareTo ( object obj ) : int
obj object The to compare with the current .
리턴 int

Equals() 공개 메소드

Determines whether the specified ITimeSeriesValue is equal to the current Measurement.
public Equals ( ITimeSeriesValue other ) : bool
other ITimeSeriesValue The to compare with the current .
리턴 bool

Equals() 공개 메소드

Determines whether the specified Object is equal to the current Measurement.
public Equals ( object obj ) : bool
obj object The to compare with the current .
리턴 bool

GetHashCode() 공개 메소드

Serves as a hash function for the current Measurement.
Hash code based on value of measurement.
public GetHashCode ( ) : int
리턴 int

MajorityValueFilter() 공개 정적인 메소드

Returns the majority value of the specified sequence of IMeasurement values.
public static MajorityValueFilter ( IEnumerable source ) : double
source IEnumerable Sequence of values over which to run calculation.
리턴 double

Measurement() 공개 메소드

Constructs a new Measurement using default settings.
public Measurement ( ) : System
리턴 System

ToString() 공개 메소드

Returns a String that represents the current Measurement.
public ToString ( ) : string
리턴 string

ToString() 공개 정적인 메소드

Returns a String that represents the specified IMeasurement.
public static ToString ( IMeasurement measurement, bool includeTagName = true ) : string
measurement IMeasurement to convert to a representation.
includeTagName bool Set to true to include measurement's tag name, if defined; otherwise set to false.
리턴 string

operator() 공개 정적인 메소드

Compares two Measurement values for equality.
public static operator ( ) : bool
리턴 bool

프로퍼티 상세

Undefined 공개적으로 정적으로 프로퍼티

Represents an undefined measurement.
public static Measurement,GSF.TimeSeries Undefined
리턴 Measurement