C# Class PhasorProtocolAdapters.Iec61850_90_5.Concentrator

Represents an IEC 61850-90-5 phasor data concentrator.
Inheritance: PhasorDataConcentratorBase
Exibir arquivo Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
CreateConfigurationFrame ( GSF baseConfigurationFrame, uint timeBase, LineFrequency nominalFrequency ) : ConfigurationFrame

Creates a new IEC 61850-90-5 (i.e., IEEE C37.118) ConfigurationFrame based on provided protocol independent baseConfigurationFrame.

CreateDataFrame ( Ticks timestamp, ConfigurationFrame configurationFrame, string msvID, int asduCount, byte asduImages, uint configurationRevision ) : DataFrame

Creates a new IEC 61850-90-5 specific DataFrame for the given timestamp.

Initialize ( ) : void

Initializes Concentrator.

Protected Methods

Method Description
CreateNewConfigurationFrame ( GSF baseConfigurationFrame ) : IConfigurationFrame

Creates a new IEEE C37.118 specific IConfigurationFrame based on provided protocol independent baseConfigurationFrame.

CreateNewFrame ( Ticks timestamp ) : IFrame

Creates a new IEEE C37.118 specific DataFrame for the given timestamp.

Note that the ConcentratorBase class (which the ActionAdapterBase is derived from) is designed to sort IMeasurement implementations into an IFrame which represents a collection of measurements at a given timestamp. The CreateNewFrame method allows consumers to create their own IFrame implementations, in our case this will be an IEEE C37.118 data frame.

DeviceCommandHandler ( System.Guid clientID, string connectionID, byte commandBuffer, int length ) : void

Handles incoming commands from devices connected over the command channel.

Method Details

CreateConfigurationFrame() public static method

Creates a new IEC 61850-90-5 (i.e., IEEE C37.118) ConfigurationFrame based on provided protocol independent baseConfigurationFrame.
public static CreateConfigurationFrame ( GSF baseConfigurationFrame, uint timeBase, LineFrequency nominalFrequency ) : ConfigurationFrame
baseConfigurationFrame GSF Protocol independent .
timeBase uint Timebase to use for fraction second resolution.
nominalFrequency LineFrequency The nominal to use for the new
return ConfigurationFrame

CreateDataFrame() public static method

Creates a new IEC 61850-90-5 specific DataFrame for the given timestamp.
public static CreateDataFrame ( Ticks timestamp, ConfigurationFrame configurationFrame, string msvID, int asduCount, byte asduImages, uint configurationRevision ) : DataFrame
timestamp Ticks Timestamp for new in .
configurationFrame ConfigurationFrame Associated for the new .
msvID string MSVID to use for .
asduCount int ASDU count.
asduImages byte Concentrator's ASDU image cache.
configurationRevision uint Configuration revision.
return DataFrame

CreateNewConfigurationFrame() protected method

Creates a new IEEE C37.118 specific IConfigurationFrame based on provided protocol independent baseConfigurationFrame.
protected CreateNewConfigurationFrame ( GSF baseConfigurationFrame ) : IConfigurationFrame
baseConfigurationFrame GSF Protocol independent .
return IConfigurationFrame

CreateNewFrame() protected method

Creates a new IEEE C37.118 specific DataFrame for the given timestamp.
Note that the ConcentratorBase class (which the ActionAdapterBase is derived from) is designed to sort IMeasurement implementations into an IFrame which represents a collection of measurements at a given timestamp. The CreateNewFrame method allows consumers to create their own IFrame implementations, in our case this will be an IEEE C37.118 data frame.
protected CreateNewFrame ( Ticks timestamp ) : IFrame
timestamp Ticks Timestamp for new in .
return IFrame

DeviceCommandHandler() protected method

Handles incoming commands from devices connected over the command channel.
protected DeviceCommandHandler ( System.Guid clientID, string connectionID, byte commandBuffer, int length ) : void
clientID System.Guid Guid of client that sent the command.
connectionID string Remote client connection identification (i.e., IP:Port).
commandBuffer byte Data buffer received from connected client device.
length int Valid length of data within the buffer.
return void

Initialize() public method

Initializes Concentrator.
public Initialize ( ) : void
return void