C# Class GSF.PhasorProtocols.BPAPDCstream.PhasorDefinition

Inheritance: PhasorDefinitionBase
Show file Open project: GridProtectionAlliance/gsf Class Usage Examples

Private Properties

Property Type Description
ConfigFileFormat string
CreateNewDefinition IPhasorDefinition
CustomConversionFactor double

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

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

PhasorDefinition ( GSF.PhasorProtocols.BPAPDCstream.ConfigurationCell parent, int index, string entryValue ) : System

Creates a new PhasorDefinition from specified parameters.

PhasorDefinition ( GSF.PhasorProtocols.BPAPDCstream.ConfigurationCell parent, string label, uint scale, double offset, PhasorType type, PhasorDefinition voltageReference ) : System

Creates a new PhasorDefinition from specified parameters.

PhasorDefinition ( IConfigurationCell parent ) : System

Creates a new PhasorDefinition from specified parameters.

Protected Methods

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

Creates a new PhasorDefinition from serialization parameters.

Private Methods

Method Description
ConfigFileFormat ( IPhasorDefinition definition ) : string
CreateNewDefinition ( IConfigurationCell parent, byte buffer, int startIndex, int &parsedLength ) : IPhasorDefinition
CustomConversionFactor ( PhasorDefinition phasor ) : double

Method Details

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

PhasorDefinition() public method

Creates a new PhasorDefinition from specified parameters.
public PhasorDefinition ( GSF.PhasorProtocols.BPAPDCstream.ConfigurationCell parent, int index, string entryValue ) : System
parent GSF.PhasorProtocols.BPAPDCstream.ConfigurationCell The parent of this .
index int Index of phasor within INI based configuration file.
entryValue string The entry value from the INI based configuration file.
return System

PhasorDefinition() public method

Creates a new PhasorDefinition from specified parameters.
public PhasorDefinition ( GSF.PhasorProtocols.BPAPDCstream.ConfigurationCell parent, string label, uint scale, double offset, PhasorType type, PhasorDefinition voltageReference ) : System
parent GSF.PhasorProtocols.BPAPDCstream.ConfigurationCell The parent of this .
label string The label of this .
scale uint The integer scaling value of this .
offset double The offset of this .
type PhasorType The of this .
voltageReference PhasorDefinition The associated that represents the voltage reference (if any).
return System

PhasorDefinition() public method

Creates a new PhasorDefinition from specified parameters.
public PhasorDefinition ( IConfigurationCell parent ) : System
parent IConfigurationCell The parent of this .
return System

PhasorDefinition() protected method

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