C# 클래스 PhasorProtocolAdapters.PhasorMeasurementMapper

상속: GSF.TimeSeries.Adapters.InputAdapterBase
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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).

비공개 메소드들

메소드 설명
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

메소드 상세

AttemptConnection() 보호된 메소드

Attempts to connect to data input source.
protected AttemptConnection ( ) : void
리턴 void

AttemptDisconnection() 보호된 메소드

Attempts to disconnect from data input source.
protected AttemptDisconnection ( ) : void
리턴 void

Dispose() 보호된 메소드

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.
리턴 void

ExtractFrameMeasurements() 보호된 메소드

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.
리턴 void

GetShortStatus() 공개 메소드

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

GetSignalReference() 공개 메소드

Get signal reference for specified SignalKind.
public GetSignalReference ( SignalKind type ) : string
type SignalKind to request signal reference for.
리턴 string

GetSignalReference() 공개 메소드

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 .
리턴 string

Initialize() 공개 메소드

Initializes PhasorMeasurementMapper.
public Initialize ( ) : void
리턴 void

MapMeasurementAttributes() 보호된 메소드

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.
리턴 void

PhasorMeasurementMapper() 공개 메소드

Creates a new PhasorMeasurementMapper.
public PhasorMeasurementMapper ( ) : System
리턴 System