C# 클래스 HistorianAdapters.StatisticsReader

Reads certain device and input stream statistics from the statistics archive. The statistics that are read are the total frame count, the missing frame count, connectivity, average latency, the actual data rate, data quality errors, and time quality errors.
상속: IDisposable
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
Close ( ) : void

Closes the archive file once the statistics are no longer needed.

Dispose ( ) : void

Releases all the resources used by the StatisticsReader object.

Open ( ) : void

Causes the StatisticsReader to open the archive file and retrieve the statistics.

StatisticsReader ( ) : System

Creates a new instance of the StatisticsReader class. All parameters--ArchiveFilePath, StateFilePath, IntercomFilePath, MetadataFilePath, StartTime, and EndTime--must be set manually before attempting to read statistics from the archive.

StatisticsReader ( string sourceConfigPath ) : System

Creates a new instance of the StatisticsReader class. The configuration file specified in the parameter must contain the statistics historian records in order to automatically locate the archive files. Otherwise, the other constructor should be used. The StartTime and EndTime parameters are not set when using this constructor and must be set manually before attempting to read statistics from the archive.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

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

비공개 메소드들

메소드 설명
OpenArchiveFile ( ) : ArchiveFile

메소드 상세

Close() 공개 메소드

Closes the archive file once the statistics are no longer needed.
public Close ( ) : void
리턴 void

Dispose() 공개 메소드

Releases all the resources used by the StatisticsReader object.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases the unmanaged resources used by the StatisticsReader 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.
리턴 void

Open() 공개 메소드

Causes the StatisticsReader to open the archive file and retrieve the statistics.
public Open ( ) : void
리턴 void

StatisticsReader() 공개 메소드

Creates a new instance of the StatisticsReader class. All parameters--ArchiveFilePath, StateFilePath, IntercomFilePath, MetadataFilePath, StartTime, and EndTime--must be set manually before attempting to read statistics from the archive.
public StatisticsReader ( ) : System
리턴 System

StatisticsReader() 공개 메소드

Creates a new instance of the StatisticsReader class. The configuration file specified in the parameter must contain the statistics historian records in order to automatically locate the archive files. Otherwise, the other constructor should be used. The StartTime and EndTime parameters are not set when using this constructor and must be set manually before attempting to read statistics from the archive.
public StatisticsReader ( string sourceConfigPath ) : System
sourceConfigPath string Path to the source configuration file.
리턴 System