C# Class PIAdapters.PIRTInputAdapter

Inheritance: InputAdapterBase
Mostra file Open project: GridProtectionAlliance/gsf

Private Properties

Property Type Description
Dispose void
GetPIPoint PIPoint
ReadEvents void
SubscribeToPointUpdates void
m_connection_Disconnected void
m_dataUpdateObserver_DataUpdated void
m_eventTimer_Elapsed void

Public Methods

Method Description
GetShortStatus ( int maxLength ) : string

Returns brief status with measurements processed

Initialize ( ) : void

Reads values from the connection string and prepares this PIRTInputAdapter for connecting to PI

PIRTInputAdapter ( ) : System

Receives real-time updates from PI

Protected Methods

Method Description
AttemptConnection ( ) : void

Connects to the configured PI server.

AttemptDisconnection ( ) : void

Disconnects from the configured PI server if a connection is open

Private Methods

Method Description
Dispose ( bool disposing ) : void
GetPIPoint ( PIServer server, string tagName ) : PIPoint
ReadEvents ( ) : void
SubscribeToPointUpdates ( MeasurementKey keys ) : void
m_connection_Disconnected ( object sender, EventArgs e ) : void
m_dataUpdateObserver_DataUpdated ( object sender, EventArgs e ) : void
m_eventTimer_Elapsed ( object sender, System e ) : void

Method Details

AttemptConnection() protected method

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

AttemptDisconnection() protected method

Disconnects from the configured PI server if a connection is open
protected AttemptDisconnection ( ) : void
return void

GetShortStatus() public method

Returns brief status with measurements processed
public GetShortStatus ( int maxLength ) : string
maxLength int
return string

Initialize() public method

Reads values from the connection string and prepares this PIRTInputAdapter for connecting to PI
public Initialize ( ) : void
return void

PIRTInputAdapter() public method

Receives real-time updates from PI
public PIRTInputAdapter ( ) : System
return System