C# Class PIAdapters.PIOutputAdapter

Inheritance: GSF.TimeSeries.Adapters.OutputAdapterBase
Mostrar archivo Open project: GridProtectionAlliance/gsf

Private Properties

Property Type Description
ArchiveAFValues void
CreateMappedPIPoint PIPoint
EstablishPIPointDictionary void
EstablishPIPointMappings void
GetPIPoint PIPoint
GetPIPoint PIPoint
GetPIPointBySignalID PIPoint
GetPIPointBySignalID PIPoint
GetPITagName string
LoadCachedTagMap void
m_connection_Disconnected void

Public Methods

Method Description
GetShortStatus ( int maxLength ) : string

Returns a brief status of this PIOutputAdapter

Initialize ( ) : void

Initializes this PIOutputAdapter.

PIOutputAdapter ( ) : System

Creates a new PIOutputAdapter

Protected Methods

Method Description
AttemptConnection ( ) : void

Connects to the configured PI server.

AttemptDisconnection ( ) : void

Closes this PIOutputAdapter connections to the PI server.

Dispose ( bool disposing ) : void

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

ExecuteMetadataRefresh ( ) : void

Sends updated metadata to PI.

ProcessMeasurements ( IMeasurement measurements ) : void

Sorts measurements and sends them to the configured PI server in batches

Private Methods

Method Description
ArchiveAFValues ( AFValue values ) : void
CreateMappedPIPoint ( MeasurementKey key ) : PIPoint
EstablishPIPointDictionary ( MeasurementKey inputMeasurements ) : void
EstablishPIPointMappings ( MeasurementKey keys ) : void
GetPIPoint ( PIServer server, System.Guid signalID, string tagName ) : PIPoint
GetPIPoint ( PIServer server, string tagName ) : PIPoint
GetPIPointBySignalID ( PIServer server, System.Guid signalID ) : PIPoint
GetPIPointBySignalID ( PIServer server, System.Guid signalID, string &cachedTagName ) : PIPoint
GetPITagName ( string tagName ) : string
LoadCachedTagMap ( ) : void
m_connection_Disconnected ( object sender, EventArgs e ) : void

Method Details

AttemptConnection() protected method

Connects to the configured PI server.
protected AttemptConnection ( ) : void
return void

AttemptDisconnection() protected method

Closes this PIOutputAdapter connections to the PI server.
protected AttemptDisconnection ( ) : void
return void

Dispose() protected method

Releases the unmanaged resources used by the PIOutputAdapter 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.
return void

ExecuteMetadataRefresh() protected method

Sends updated metadata to PI.
protected ExecuteMetadataRefresh ( ) : void
return void

GetShortStatus() public method

Returns a brief status of this PIOutputAdapter
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum number of characters in the status string
return string

Initialize() public method

Initializes this PIOutputAdapter.
public Initialize ( ) : void
return void

PIOutputAdapter() public method

Creates a new PIOutputAdapter
public PIOutputAdapter ( ) : System
return System

ProcessMeasurements() protected method

Sorts measurements and sends them to the configured PI server in batches
protected ProcessMeasurements ( IMeasurement measurements ) : void
measurements IMeasurement Measurements to queue
return void