C# 클래스 GSF.TimeSeries.Transport.SignalIndexCache

상속: ISupportBinaryImage
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
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