C# Class PhasorProtocolAdapters.PhasorMeasurementMapper

Inheritance: GSF.TimeSeries.Adapters.InputAdapterBase
Afficher le fichier Open project: GridProtectionAlliance/gsf

Private Properties

Свойство Type Description
CheckForConfigurationChanges bool
CountMappedMeasurements int
CountParsedMeasurements int
DeleteCachedConfiguration void
LoadCachedConfiguration void
LoadConfiguration void
LoadDeviceMeasurements void
LoadInputDevices void
RegisterStatistics void
RequestCurrentConfiguration IConfigurationFrame
ResetDeviceStatistics void
ResetLatencyCounters void
ResetLifetimeCounters void
ResetMeasurementsPerSecondCounters void
ResetStatistics void
SendCommand void
StartMeasurementCounter void
UpdateMeasurementsPerSecond void
m_dataStreamMonitor_Elapsed void
m_frameParser_ConfigurationChanged void
m_frameParser_ConnectionAttempt void
m_frameParser_ConnectionEstablished void
m_frameParser_ConnectionException void
m_frameParser_ConnectionTerminated void
m_frameParser_ExceededParsingExceptionThreshold void
m_frameParser_ParsingException void
m_frameParser_ReceivedConfigurationFrame void
m_frameParser_ReceivedDataFrame void
m_frameParser_ReceivedFrameImage void
m_frameParser_ReceivedHeaderFrame void
m_measurementCounter_Elapsed void

Méthodes publiques

Méthode Description
GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this PhasorMeasurementMapper.

GetSignalReference ( SignalKind type ) : string

Get signal reference for specified SignalKind.

GetSignalReference ( SignalKind type, int index, int count ) : string

Get signal reference for specified SignalKind and index.

Initialize ( ) : void

Initializes PhasorMeasurementMapper.

PhasorMeasurementMapper ( ) : System

Creates a new PhasorMeasurementMapper.

Méthodes protégées

Méthode Description
AttemptConnection ( ) : void

Attempts to connect to data input source.

AttemptDisconnection ( ) : void

Attempts to disconnect from data input source.

Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the PhasorMeasurementMapper object and optionally releases the managed resources.

ExtractFrameMeasurements ( IDataFrame frame ) : void

Extract frame measurements and add expose them via the IInputAdapter.NewMeasurements event.

MapMeasurementAttributes ( List mappedMeasurements, MeasurementMetadata metadata, IMeasurement parsedMeasurement ) : void

Map parsed measurement value to defined measurement attributes (i.e., assign meta-data to parsed measured value).

Private Methods

Méthode Description
CheckForConfigurationChanges ( ) : bool
CountMappedMeasurements ( IDataCell parsedDevice, List mappedMeasurements ) : int
CountParsedMeasurements ( IDataCell parsedDevice ) : int
DeleteCachedConfiguration ( ) : void
LoadCachedConfiguration ( ) : void
LoadConfiguration ( string configurationFileName ) : void
LoadDeviceMeasurements ( ) : void
LoadInputDevices ( ) : void
RegisterStatistics ( object source, string sourceName, string sourceCategory, string sourceAcronym ) : void
RequestCurrentConfiguration ( ) : IConfigurationFrame
ResetDeviceStatistics ( ushort idCode ) : void
ResetLatencyCounters ( ) : void
ResetLifetimeCounters ( ) : void
ResetMeasurementsPerSecondCounters ( ) : void
ResetStatistics ( ) : void
SendCommand ( DeviceCommand command ) : void
StartMeasurementCounter ( ) : void
UpdateMeasurementsPerSecond ( int measurementCount ) : void
m_dataStreamMonitor_Elapsed ( object sender, EventArgs e ) : void
m_frameParser_ConfigurationChanged ( object sender, EventArgs e ) : void
m_frameParser_ConnectionAttempt ( object sender, EventArgs e ) : void
m_frameParser_ConnectionEstablished ( object sender, EventArgs e ) : void
m_frameParser_ConnectionException ( object sender, int>.EventArgs e ) : void
m_frameParser_ConnectionTerminated ( object sender, EventArgs e ) : void
m_frameParser_ExceededParsingExceptionThreshold ( object sender, EventArgs e ) : void
m_frameParser_ParsingException ( object sender, EventArgs e ) : void
m_frameParser_ReceivedConfigurationFrame ( object sender, EventArgs e ) : void
m_frameParser_ReceivedDataFrame ( object sender, EventArgs e ) : void
m_frameParser_ReceivedFrameImage ( object sender, int>.EventArgs e ) : void
m_frameParser_ReceivedHeaderFrame ( object sender, EventArgs e ) : void
m_measurementCounter_Elapsed ( object sender, EventArgs elapsedEventArgs ) : void

Method Details

AttemptConnection() protected méthode

Attempts to connect to data input source.
protected AttemptConnection ( ) : void
Résultat void

AttemptDisconnection() protected méthode

Attempts to disconnect from data input source.
protected AttemptDisconnection ( ) : void
Résultat void

Dispose() protected méthode

Releases the unmanaged resources used by the PhasorMeasurementMapper object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

ExtractFrameMeasurements() protected méthode

Extract frame measurements and add expose them via the IInputAdapter.NewMeasurements event.
protected ExtractFrameMeasurements ( IDataFrame frame ) : void
frame IDataFrame Phasor data frame to extract measurements from.
Résultat void

GetShortStatus() public méthode

Gets a short one-line status of this PhasorMeasurementMapper.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum number of available characters for display.
Résultat string

GetSignalReference() public méthode

Get signal reference for specified SignalKind.
public GetSignalReference ( SignalKind type ) : string
type SignalKind to request signal reference for.
Résultat string

GetSignalReference() public méthode

Get signal reference for specified SignalKind and index.
public GetSignalReference ( SignalKind type, int index, int count ) : string
type SignalKind to request signal reference for.
index int Index to request signal reference for.
count int Number of signals defined for this .
Résultat string

Initialize() public méthode

Initializes PhasorMeasurementMapper.
public Initialize ( ) : void
Résultat void

MapMeasurementAttributes() protected méthode

Map parsed measurement value to defined measurement attributes (i.e., assign meta-data to parsed measured value).
protected MapMeasurementAttributes ( List mappedMeasurements, MeasurementMetadata metadata, IMeasurement parsedMeasurement ) : void
mappedMeasurements List Destination collection for the mapped measurement values.
metadata GSF.TimeSeries.MeasurementMetadata The metadata to assign
parsedMeasurement IMeasurement The parsed value.
Résultat void

PhasorMeasurementMapper() public méthode

Creates a new PhasorMeasurementMapper.
public PhasorMeasurementMapper ( ) : System
Résultat System