C# Class EpriExport.FileImporter

Inheritance: GSF.TimeSeries.Adapters.InputAdapterBase
Afficher le fichier Open project: GridProtectionAlliance/gsf

Private Properties

Свойство 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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode 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 méthode

Attempts to connect to this FileImporter.
protected AttemptConnection ( ) : void
Résultat void

AttemptDisconnection() protected méthode

Attempts to disconnect from this FileImporter.
protected AttemptDisconnection ( ) : void
Résultat void

Dispose() protected méthode

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.
Résultat void

FileImporter() public méthode

Initializes a new instance of the FileImporter class.
public FileImporter ( ) : System
Résultat System

GetShortStatus() public méthode

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

Initialize() public méthode

Initializes this FileImporter.
public Initialize ( ) : void
Résultat void