C# Class FaultData.DataReaders.PQDIFReader

Inheritance: IDataReader, IDisposable
Mostrar archivo Open project: GridProtectionAlliance/openXDA Class Usage Examples

Public Methods

Method Description
CanParse ( string filePath, System.DateTime fileCreationTime ) : bool

Determines whether the file can be parsed at this time.

Dispose ( ) : void
PQDIFReader ( ) : System

Creates a new instance of the PQDIFReader class.

Parse ( string filePath ) : void

Parses the file into a meter data set per meter contained in the file.

Private Methods

Method Description
AreEquivalent ( DataSourceRecord dataSource1, DataSourceRecord dataSource2 ) : bool
ParseDataSource ( DataSourceRecord dataSource ) : Meter
ParseSeries ( SeriesDefinition seriesDefinition ) : Channel
ParseSeries ( SeriesInstance seriesInstance ) : Channel
ParseTimeData ( ChannelInstance channelInstance ) : System.DateTime[]
ParseValueData ( SeriesInstance seriesInstance ) : double[]

Method Details

CanParse() public method

Determines whether the file can be parsed at this time.
public CanParse ( string filePath, System.DateTime fileCreationTime ) : bool
filePath string The path to the file to be parsed.
fileCreationTime System.DateTime The time the file was created.
return bool

Dispose() public method

public Dispose ( ) : void
return void

PQDIFReader() public method

Creates a new instance of the PQDIFReader class.
public PQDIFReader ( ) : System
return System

Parse() public method

Parses the file into a meter data set per meter contained in the file.
public Parse ( string filePath ) : void
filePath string The path to the file to be parsed.
return void