C# Class EpriExport.FileImporter

Inheritance: GSF.TimeSeries.Adapters.InputAdapterBase
Show file Open project: GridProtectionAlliance/gsf

Private Properties

Property Type Description
CloseFile void
DeleteFile void
ProcessFile void
ProcessMeasurements void
ReadNextRecord bool
m_fileProcessQueue_ProcessException void
m_fileSystemWatcher_Created void
m_fileSystemWatcher_Renamed void
m_looseTimer_Elapsed void

Public Methods

Method Description
FileImporter ( ) : System

Initializes a new instance of the FileImporter class.

GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this FileImporter.

Initialize ( ) : void

Initializes this FileImporter.

Protected Methods

Method Description
AttemptConnection ( ) : void

Attempts to connect to this FileImporter.

AttemptDisconnection ( ) : void

Attempts to disconnect from this FileImporter.

Dispose ( bool disposing ) : void

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

Private Methods

Method Description
CloseFile ( ) : void
DeleteFile ( object state ) : void
ProcessFile ( string fileName ) : void
ProcessMeasurements ( ) : void
ReadNextRecord ( long currentTime ) : bool
m_fileProcessQueue_ProcessException ( object sender, EventArgs e ) : void
m_fileSystemWatcher_Created ( object sender, FileSystemEventArgs e ) : void
m_fileSystemWatcher_Renamed ( object sender, RenamedEventArgs e ) : void
m_looseTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void

Method Details

AttemptConnection() protected method

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

AttemptDisconnection() protected method

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

Dispose() protected method

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

FileImporter() public method

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

GetShortStatus() public method

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

Initialize() public method

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