C# Class GSF.PhasorProtocols.Macrodyne.FrequencyValue

Inheritance: FrequencyValueBase
Datei anzeigen Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method Description
FrequencyValue ( GSF.PhasorProtocols.Macrodyne.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.

Protected Methods

Method 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.

Private Methods

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

Method Details

FrequencyValue() public method

Creates a new FrequencyValue from specified parameters.
public FrequencyValue ( GSF.PhasorProtocols.Macrodyne.DataCell parent, FrequencyDefinition frequencyDefinition, double frequency, double dfdt ) : System
parent GSF.PhasorProtocols.Macrodyne.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.
return System

FrequencyValue() public method

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

FrequencyValue() protected method

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.
return System

ParseBodyImage() protected method

Parses the binary body image.
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 .
return int