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

Defines specific fields for MetadataRecords that are of type DataType.Analog.
상속: ISupportBinaryImage
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
GenerateBinaryImage ( byte buffer, int startIndex ) : int

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

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

Initializes MetadataRecordAnalogFields from the specified buffer.

비공개 메소드들

메소드 설명
MetadataRecordAnalogFields ( BinaryReader reader ) : System
MetadataRecordAnalogFields ( MetadataFileLegacyMode legacyMode ) : System

Initializes a new instance of the MetadataRecordAnalogFields class.

WriteImage ( BinaryWriter writer ) : void

메소드 상세

GenerateBinaryImage() 공개 메소드

Generates binary image of the MetadataRecordAnalogFields 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

ParseBinaryImage() 공개 메소드

Initializes MetadataRecordAnalogFields 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