C# 클래스 PDQTrackerManager.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/pdqtracker 1 사용 예제들

공개 메소드들

메소드 설명
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.

Read ( int severity ) : IEnumerable>.Dictionary

Reads data for a specified signal.

All parameters--ArchiveFilePath, StartTime, and EndTime--must be set manually before attempting to read statistics from the archive.

Read ( string statisticSuffix, int signalIndex ) : IEnumerable>.Dictionary

Reads data for a specified statistic.

All parameters--ArchiveFilePath, StartTime, and EndTime--must be set manually before attempting to read statistics from the archive.

메소드 상세

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

Open() 공개 메소드

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

Read() 공개 메소드

Reads data for a specified signal.
All parameters--ArchiveFilePath, StartTime, and EndTime--must be set manually before attempting to read statistics from the archive.
public Read ( int severity ) : IEnumerable>.Dictionary
severity int The index that defines which statistic in the given category is to be retrieved.
리턴 IEnumerable>.Dictionary

Read() 공개 메소드

Reads data for a specified statistic.
All parameters--ArchiveFilePath, StartTime, and EndTime--must be set manually before attempting to read statistics from the archive.
public Read ( string statisticSuffix, int signalIndex ) : IEnumerable>.Dictionary
statisticSuffix string The suffix that defines the category of the statistic.
signalIndex int The index that defines which statistic in the given category is to be retrieved.
리턴 IEnumerable>.Dictionary