C# Класс PhasorProtocolAdapters.Iec61850_90_5.Concentrator

Represents an IEC 61850-90-5 phasor data concentrator.
Наследование: PhasorDataConcentratorBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

CreateConfigurationFrame() публичный статический Метод

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
Результат ConfigurationFrame

CreateDataFrame() публичный статический Метод

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.
Результат DataFrame

CreateNewConfigurationFrame() защищенный Метод

Creates a new IEEE C37.118 specific IConfigurationFrame based on provided protocol independent baseConfigurationFrame.
protected CreateNewConfigurationFrame ( GSF baseConfigurationFrame ) : IConfigurationFrame
baseConfigurationFrame GSF Protocol independent .
Результат IConfigurationFrame

CreateNewFrame() защищенный Метод

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 .
Результат IFrame

DeviceCommandHandler() защищенный Метод

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.
Результат void

Initialize() публичный Метод

Initializes Concentrator.
public Initialize ( ) : void
Результат void