C# Класс GSF.Historian.Files.MetadataRecordAnalogFields

Defines specific fields for MetadataRecords that are of type DataType.Analog.
Наследование: ISupportBinaryImage
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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