C# Class GSF.PhasorProtocols.IEEE1344.FrequencyDefinition

Inheritance: FrequencyDefinitionBase
Mostrar archivo Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method Description
FrequencyDefinition ( GSF.PhasorProtocols.IEEE1344.ConfigurationCell parent, string label ) : System

Creates a new FrequencyDefinition from specified parameters.

FrequencyDefinition ( IConfigurationCell parent ) : System

Creates a new FrequencyDefinition.

GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Populates a SerializationInfo with the data needed to serialize the target object.

Protected Methods

Method Description
FrequencyDefinition ( SerializationInfo info, StreamingContext context ) : System

Creates a new FrequencyDefinition from serialization parameters.

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

Parses the binary body image.

The base implementation assumes that all channel definitions begin with a label as this is the general case, override functionality if this is not the case.

Private Methods

Method Description
CreateNewDefinition ( IConfigurationCell parent, byte buffer, int startIndex, int &parsedLength ) : IFrequencyDefinition

Method Details

FrequencyDefinition() public method

Creates a new FrequencyDefinition from specified parameters.
public FrequencyDefinition ( GSF.PhasorProtocols.IEEE1344.ConfigurationCell parent, string label ) : System
parent GSF.PhasorProtocols.IEEE1344.ConfigurationCell The parent of this .
label string The label of this .
return System

FrequencyDefinition() public method

Creates a new FrequencyDefinition.
public FrequencyDefinition ( IConfigurationCell parent ) : System
parent IConfigurationCell The parent of this .
return System

FrequencyDefinition() protected method

Creates a new FrequencyDefinition from serialization parameters.
protected FrequencyDefinition ( 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

GetObjectData() public method

Populates a SerializationInfo with the data needed to serialize the target object.
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo The to populate with data.
context System.Runtime.Serialization.StreamingContext The destination for this serialization.
return void

ParseBodyImage() protected method

Parses the binary body image.
The base implementation assumes that all channel definitions begin with a label as this is the general case, override functionality if this is not the case.
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