C# Class GSF.EMAX.Parser

EMAX data file(s) parser.
Inheritance: IDisposable
显示文件 Open project: GridProtectionAlliance/gsf Class Usage Examples

Private Properties

Property Type Description
ParseTimestamp System.DateTime

Public Methods

Method Description
CloseFiles ( ) : void

Closes all EMAX data file streams.

Dispose ( ) : void

Releases all the resources used by the Parser object.

OpenFiles ( ) : void

Opens all EMAX data file streams.

ReadNext ( ) : bool

Reads next EMAX record.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

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

Private Methods

Method Description
ParseTimestamp ( ushort clockWords ) : System.DateTime

Method Details

CloseFiles() public method

Closes all EMAX data file streams.
public CloseFiles ( ) : void
return void

Dispose() public method

Releases all the resources used by the Parser object.
public Dispose ( ) : void
return void

Dispose() protected method

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

OpenFiles() public method

Opens all EMAX data file streams.
public OpenFiles ( ) : void
return void

ReadNext() public method

Reads next EMAX record.
public ReadNext ( ) : bool
return bool