C# 클래스 openHistorian.Data.PeriodicScanner

파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 메소드들

메소드 설명
GetParser ( System.DateTime startTime, System.DateTime endTime, uint sampleCount ) : SeekFilterBase
GetParser ( System.DateTime startTime, System.DateTime endTime, ulong samplesPerDay ) : SeekFilterBase
PeriodicScanner ( int samplesPerSecond ) : System

Creates a periodic scanner

PeriodicScanner ( int samplesPerSecond, System.TimeSpan windowTolerance ) : System
SuggestSamplesPerDay ( System.DateTime startTime, System.DateTime endTime, uint sampleCount ) : long

비공개 메소드들

메소드 설명
CalculateDownSampleRates ( int samplesPerSecond ) : void

Populates m_downSampleRates and m_downSampleTicks with all of the necessary valid downsample rates

FactorNumber ( int number ) : List

Gets all of the factors for the number.

RoundDownToNearestSample ( long startTime, long samplesPerDay, long interval ) : long

Rounds the provided timestamp down to the nearest valid time sample.

RoundUpToNearestSample ( long startTime, long samplesPerDay, long interval ) : long

Rounds the provided timestamp up to the nearest valid time sample.

메소드 상세

GetParser() 공개 메소드

public GetParser ( System.DateTime startTime, System.DateTime endTime, uint sampleCount ) : SeekFilterBase
startTime System.DateTime
endTime System.DateTime
sampleCount uint
리턴 SeekFilterBase

GetParser() 공개 메소드

public GetParser ( System.DateTime startTime, System.DateTime endTime, ulong samplesPerDay ) : SeekFilterBase
startTime System.DateTime
endTime System.DateTime
samplesPerDay ulong
리턴 SeekFilterBase

PeriodicScanner() 공개 메소드

Creates a periodic scanner
public PeriodicScanner ( int samplesPerSecond ) : System
samplesPerSecond int
리턴 System

PeriodicScanner() 공개 메소드

public PeriodicScanner ( int samplesPerSecond, System.TimeSpan windowTolerance ) : System
samplesPerSecond int
windowTolerance System.TimeSpan
리턴 System

SuggestSamplesPerDay() 공개 메소드

public SuggestSamplesPerDay ( System.DateTime startTime, System.DateTime endTime, uint sampleCount ) : long
startTime System.DateTime
endTime System.DateTime
sampleCount uint
리턴 long