C# Class GSF.PhasorProtocols.IEEE1344.FrequencyValue

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

Méthodes publiques

Méthode Description
FrequencyValue ( GSF.PhasorProtocols.IEEE1344.DataCell parent, FrequencyDefinition frequencyDefinition, double frequency, double dfdt ) : System

Creates a new FrequencyValue from specified parameters.

FrequencyValue ( IDataCell parent, IFrequencyDefinition frequencyDefinition ) : System

Creates a new FrequencyValue.

Méthodes protégées

Méthode Description
FrequencyValue ( SerializationInfo info, StreamingContext context ) : System

Creates a new FrequencyValue from serialization parameters.

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

Parses the binary body image.

The IEEE 1344 protocol provides frequency and df/dt as optional data measurements, so we override the default behavior to account for this change in operation.

Private Methods

Méthode Description
CreateNewValue ( IDataCell parent, IFrequencyDefinition definition, byte buffer, int startIndex, int &parsedLength ) : IFrequencyValue

Method Details

FrequencyValue() public méthode

Creates a new FrequencyValue from specified parameters.
public FrequencyValue ( GSF.PhasorProtocols.IEEE1344.DataCell parent, FrequencyDefinition frequencyDefinition, double frequency, double dfdt ) : System
parent GSF.PhasorProtocols.IEEE1344.DataCell The parent of this .
frequencyDefinition FrequencyDefinition The associated with this .
frequency double The floating point value that represents this .
dfdt double The floating point value that represents the change in this over time.
Résultat System

FrequencyValue() public méthode

Creates a new FrequencyValue.
public FrequencyValue ( IDataCell parent, IFrequencyDefinition frequencyDefinition ) : System
parent IDataCell The parent of this .
frequencyDefinition IFrequencyDefinition The associated with this .
Résultat System

FrequencyValue() protected méthode

Creates a new FrequencyValue from serialization parameters.
protected FrequencyValue ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The with populated with data.
context System.Runtime.Serialization.StreamingContext The source for this deserialization.
Résultat System

ParseBodyImage() protected méthode

Parses the binary body image.
The IEEE 1344 protocol provides frequency and df/dt as optional data measurements, so we override the default behavior to account for this change in operation.
protected ParseBodyImage ( byte buffer, int startIndex, int length ) : int
buffer byte Binary image to parse.
startIndex int Start index into to begin parsing.
length int Length of valid data within .
Résultat int