C# Class openHistorian.OldHistorianReader

Version 1.0 openHistorian optimized file reader.
Inheritance: IDisposable
Mostra file Open project: GridProtectionAlliance/openHistorian

Public Properties

Property Type Description
File string

Private Properties

Property Type Description

Public Methods

Method Description
Dispose ( ) : void

Releases all the resources used by the OldHistorianReader object.

OldHistorianReader ( string File ) : System
Open ( string fileName ) : void

Opens the historian archive file.

Read ( ) : IEnumerable

Reads points from openHistorian 1.0 archive file in native order.

Read ( ) : void
Read ( Action callback ) : void
ToSingle ( UInt32 value ) : float
ToUInt ( float value ) : UInt32

Protected Methods

Method Description
Dispose ( bool disposing ) : void

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

Method Details

Dispose() public method

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

Dispose() protected method

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

OldHistorianReader() public method

public OldHistorianReader ( string File ) : System
File string
return System

Open() public method

Opens the historian archive file.
public Open ( string fileName ) : void
fileName string File name of historian archive to open.
return void

Read() public method

Reads points from openHistorian 1.0 archive file in native order.
public Read ( ) : IEnumerable
return IEnumerable

Read() public method

public Read ( ) : void
return void

Read() public method

public Read ( Action callback ) : void
callback Action
return void

ToSingle() public static method

public static ToSingle ( UInt32 value ) : float
value System.UInt32
return float

ToUInt() public static method

public static ToUInt ( float value ) : UInt32
value float
return System.UInt32

Property Details

File public_oe property

public string File
return string