C# Class GSF.TimeSeries.Transport.SignalIndexCache

Inheritance: ISupportBinaryImage
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

GenerateBinaryImage() public méthode

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.
Résultat int

GetSignalIndex() public méthode

Gets runtime signal index for given Guid signal ID.
public GetSignalIndex ( MeasurementKey key ) : ushort
key MeasurementKey The used to lookup associated runtime signal index.
Résultat ushort

ParseBinaryImage() public méthode

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 .
Résultat int

SignalIndexCache() public méthode

Creates a new SignalIndexCache instance.
public SignalIndexCache ( ) : System
Résultat System

SignalIndexCache() public méthode

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.
Résultat System