C# Class CsvAdapters.CsvInputAdapter

Inheritance: InputAdapterBase
Exibir arquivo Open project: GridProtectionAlliance/gsf

Private Properties

Property Type Description
ProcessMeasurements void
ReadNextRecord bool
m_looseTimer_Elapsed void

Public Methods

Method Description
CsvInputAdapter ( ) : System

Initializes a new instance of the CsvInputAdapter class.

GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this CsvInputAdapter.

Initialize ( ) : void

Initializes this CsvInputAdapter.

Protected Methods

Method Description
AttemptConnection ( ) : void

Attempts to connect to this CsvInputAdapter.

AttemptDisconnection ( ) : void

Attempts to disconnect from this CsvInputAdapter.

Dispose ( bool disposing ) : void

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

Private Methods

Method Description
ProcessMeasurements ( ) : void
ReadNextRecord ( long currentTime ) : bool
m_looseTimer_Elapsed ( object sender, ElapsedEventArgs e ) : void

Method Details

AttemptConnection() protected method

Attempts to connect to this CsvInputAdapter.
protected AttemptConnection ( ) : void
return void

AttemptDisconnection() protected method

Attempts to disconnect from this CsvInputAdapter.
protected AttemptDisconnection ( ) : void
return void

CsvInputAdapter() public method

Initializes a new instance of the CsvInputAdapter class.
public CsvInputAdapter ( ) : System
return System

Dispose() protected method

Releases the unmanaged resources used by the CsvInputAdapter 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

GetShortStatus() public method

Gets a short one-line status of this CsvInputAdapter.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum length of the status message.
return string

Initialize() public method

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