C# 클래스 openHistorian.Adapters.TrendValueAPI

Defines an API for publishing TrendValue instances from the openHistorian.
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 메소드들

메소드 설명
EstimatePlotResolution ( string instanceName, System.DateTime startTime, System.DateTime stopTime, ulong measurementIDs ) : Resolution

Estimates a decent plot resolution for given time range.

GetHistorianData ( HistorianValue>.ClientDatabaseBase database, System.DateTime startTime, System.DateTime stopTime, ulong measurementIDs, Resolution resolution, int seriesLimit, bool forceLimit, ICancellationToken cancellationToken = null ) : IEnumerable

Read historian data from server.

GetInstanceNames ( ) : IEnumerable

Gets loaded historian adapter instance names.

비공개 메소드들

메소드 설명
LoadConnectionParameters ( ) : void
TrendValueAPI ( ) : System

메소드 상세

EstimatePlotResolution() 공개 정적인 메소드

Estimates a decent plot resolution for given time range.
public static EstimatePlotResolution ( string instanceName, System.DateTime startTime, System.DateTime stopTime, ulong measurementIDs ) : Resolution
instanceName string Historian instance name.
startTime System.DateTime Start time of query.
stopTime System.DateTime Stop time of query.
measurementIDs ulong Measurement IDs being queried - or null for all available points.
리턴 Resolution

GetHistorianData() 공개 정적인 메소드

Read historian data from server.
public static GetHistorianData ( HistorianValue>.ClientDatabaseBase database, System.DateTime startTime, System.DateTime stopTime, ulong measurementIDs, Resolution resolution, int seriesLimit, bool forceLimit, ICancellationToken cancellationToken = null ) : IEnumerable
database HistorianValue>.ClientDatabaseBase Client database to use for query.
startTime System.DateTime Start time of query.
stopTime System.DateTime Stop time of query.
measurementIDs ulong Measurement IDs to query - or null for all available points.
resolution Resolution Resolution for data query.
seriesLimit int Maximum number of points per series.
forceLimit bool Flag that determines if series limit should be strictly enforced.
cancellationToken ICancellationToken Cancellation token for query.
리턴 IEnumerable

GetInstanceNames() 공개 정적인 메소드

Gets loaded historian adapter instance names.
public static GetInstanceNames ( ) : IEnumerable
리턴 IEnumerable