C# Класс GSF.TimeSeries.Transport.SignalIndexCache

Наследование: ISupportBinaryImage
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GenerateBinaryImage ( byte buffer, int startIndex ) : int

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

GetSignalIndex ( MeasurementKey key ) : ushort

Gets runtime signal index for given Guid signal ID.

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

Initializes the SignalIndexCache by parsing the specified buffer containing a binary image.

SignalIndexCache ( ) : System

Creates a new SignalIndexCache instance.

SignalIndexCache ( DataSet dataSource, SignalIndexCache remoteCache ) : System

Creates a new local system cache from one that was received remotely.

Описание методов

GenerateBinaryImage() публичный Метод

Generates binary image of the SignalIndexCache and copies it into the given buffer, for BinaryLength bytes.
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

GetSignalIndex() публичный Метод

Gets runtime signal index for given Guid signal ID.
public GetSignalIndex ( MeasurementKey key ) : ushort
key MeasurementKey The used to lookup associated runtime signal index.
Результат ushort

ParseBinaryImage() публичный Метод

Initializes the SignalIndexCache by parsing the specified buffer containing a binary image.
public ParseBinaryImage ( byte buffer, int startIndex, int length ) : int
buffer byte Buffer containing binary image to parse.
startIndex int 0-based starting index in the to start parsing.
length int Valid number of bytes within to read from .
Результат int

SignalIndexCache() публичный Метод

Creates a new SignalIndexCache instance.
public SignalIndexCache ( ) : System
Результат System

SignalIndexCache() публичный Метод

Creates a new local system cache from one that was received remotely.
public SignalIndexCache ( DataSet dataSource, SignalIndexCache remoteCache ) : System
dataSource System.Data.DataSet based data source used to interpret local measurement keys.
remoteCache SignalIndexCache Deserialized remote signal index cache.
Результат System