C# 클래스 GSF.Historian.Files.ArchiveDataPoint

Represents time-series data stored in ArchiveFile.
상속: IDataPoint
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
ArchiveDataPoint ( IDataPoint dataPoint ) : System

Initializes a new instance of the ArchiveDataPoint class.

ArchiveDataPoint ( IMeasurement measurement ) : System

Initializes a new instance of the ArchiveDataPoint class from a IMeasurement value.

ArchiveDataPoint ( IMeasurement measurement, Quality quality ) : System

Initializes a new instance of the ArchiveDataPoint class from a IMeasurement value.

ArchiveDataPoint ( int historianID ) : System

Initializes a new instance of the ArchiveDataPoint class.

ArchiveDataPoint ( int historianID, TimeTag time, float value, Quality quality ) : System

Initializes a new instance of the ArchiveDataPoint class.

ArchiveDataPoint ( int historianID, byte buffer, int startIndex, int length ) : System

Initializes a new instance of the ArchiveDataPoint class.

CompareTo ( object obj ) : int

Compares the current ArchiveDataPoint object to obj.

Equals ( object obj ) : bool

Determines whether the current ArchiveDataPoint object is equal to obj.

GenerateBinaryImage ( byte buffer, int startIndex ) : int

Generates binary image of the ArchiveDataPoint and copies it into the given buffer, for BinaryLength bytes.

GetHashCode ( ) : int

Returns the hash code for the current ArchiveDataPoint object.

ParseBinaryImage ( byte buffer, int startIndex, int length ) : int

Initializes ArchiveDataPoint from the specified buffer.

ToString ( ) : string

Returns the text representation of ArchiveDataPoint object.

ToString ( IFormatProvider provider ) : string

Returns the text representation of ArchiveDataPoint object using the specified provider.

ToString ( string format ) : string

Returns the text representation of ArchiveDataPoint object in the specified format.

ToString ( string format, IFormatProvider provider ) : string

Returns the text representation of ArchiveDataPoint object in the specified format using the specified provider.

메소드 상세

ArchiveDataPoint() 공개 메소드

Initializes a new instance of the ArchiveDataPoint class.
public ArchiveDataPoint ( IDataPoint dataPoint ) : System
dataPoint IDataPoint A time-series data point.
리턴 System

ArchiveDataPoint() 공개 메소드

Initializes a new instance of the ArchiveDataPoint class from a IMeasurement value.
public ArchiveDataPoint ( IMeasurement measurement ) : System
measurement IMeasurement Object that implements the interface.
리턴 System

ArchiveDataPoint() 공개 메소드

Initializes a new instance of the ArchiveDataPoint class from a IMeasurement value.
public ArchiveDataPoint ( IMeasurement measurement, Quality quality ) : System
measurement IMeasurement Object that implements the interface.
quality Quality Specific value to apply to new .
리턴 System

ArchiveDataPoint() 공개 메소드

Initializes a new instance of the ArchiveDataPoint class.
public ArchiveDataPoint ( int historianID ) : System
historianID int Historian identifier of .
리턴 System

ArchiveDataPoint() 공개 메소드

Initializes a new instance of the ArchiveDataPoint class.
public ArchiveDataPoint ( int historianID, TimeTag time, float value, Quality quality ) : System
historianID int Historian identifier of .
time TimeTag of .
value float Floating-point value of .
quality Quality of .
리턴 System

ArchiveDataPoint() 공개 메소드

Initializes a new instance of the ArchiveDataPoint class.
public ArchiveDataPoint ( int historianID, byte buffer, int startIndex, int length ) : System
historianID int Historian identifier of .
buffer byte Binary image to be used for initializing .
startIndex int 0-based starting index of initialization data in the .
length int Valid number of bytes in from .
리턴 System

CompareTo() 공개 메소드

Compares the current ArchiveDataPoint object to obj.
public CompareTo ( object obj ) : int
obj object Object against which the current object is to be compared.
리턴 int

Equals() 공개 메소드

Determines whether the current ArchiveDataPoint object is equal to obj.
public Equals ( object obj ) : bool
obj object Object against which the current object is to be compared for equality.
리턴 bool

GenerateBinaryImage() 공개 메소드

Generates binary image of the ArchiveDataPoint and copies it into the given buffer, for BinaryLength bytes.
is null. /// or is less than 0 -or- /// and will exceed length. ///
public GenerateBinaryImage ( byte buffer, int startIndex ) : int
buffer byte Buffer used to hold generated binary image of the source object.
startIndex int 0-based starting index in the to start writing.
리턴 int

GetHashCode() 공개 메소드

Returns the hash code for the current ArchiveDataPoint object.
public GetHashCode ( ) : int
리턴 int

ParseBinaryImage() 공개 메소드

Initializes ArchiveDataPoint from the specified buffer.
public ParseBinaryImage ( byte buffer, int startIndex, int length ) : int
buffer byte Binary image to be used for initializing .
startIndex int 0-based starting index of initialization data in the .
length int Valid number of bytes in from .
리턴 int

ToString() 공개 메소드

Returns the text representation of ArchiveDataPoint object.
public ToString ( ) : string
리턴 string

ToString() 공개 메소드

Returns the text representation of ArchiveDataPoint object using the specified provider.
public ToString ( IFormatProvider provider ) : string
provider IFormatProvider An that supplies culture-specific formatting information.
리턴 string

ToString() 공개 메소드

Returns the text representation of ArchiveDataPoint object in the specified format.
public ToString ( string format ) : string
format string Format of text output (I for ID, T for Time, V for Value, Q for Quality).
리턴 string

ToString() 공개 메소드

Returns the text representation of ArchiveDataPoint object in the specified format using the specified provider.
public ToString ( string format, IFormatProvider provider ) : string
format string Format of text output (I for ID, T for Time, V for Value, Q for Quality).
provider IFormatProvider An that supplies culture-specific formatting information.
리턴 string