C# Class openHistorian.Adapters.HistorianQueryHubClient

Represents a client instance of a SignalR Hub for historian data queries.
Inheritance: GSF.Web.Hubs.HubClientBase
Afficher le fichier Open project: GridProtectionAlliance/openHistorian

Méthodes publiques

Méthode Description
GetHistorianData ( string instanceName, System.DateTime startTime, System.DateTime stopTime, ulong measurementIDs, Resolution resolution, int seriesLimit, bool forceLimit ) : IEnumerable

Read historian data from server.

GetInstanceNames ( ) : IEnumerable

Gets loaded historian adapter instance names.

GetSelectedInstanceName ( ) : string

Gets selected instance name.

HistorianQueryHubClient ( ) : System

Creates a new HistorianQueryHubClient.

SetSelectedInstanceName ( string instanceName ) : void

Set selected instance name.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

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

Private Methods

Méthode Description
GetConnection ( string instanceName ) : SnapClient
GetDatabase ( string instanceName ) : HistorianValue>.ClientDatabaseBase

Method Details

Dispose() protected méthode

Releases the unmanaged resources used by the HistorianQueryHubClient 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.
Résultat void

GetHistorianData() public méthode

Read historian data from server.
public GetHistorianData ( string instanceName, System.DateTime startTime, System.DateTime stopTime, ulong measurementIDs, Resolution resolution, int seriesLimit, bool forceLimit ) : IEnumerable
instanceName string Historian instance name.
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.
Résultat IEnumerable

GetInstanceNames() public méthode

Gets loaded historian adapter instance names.
public GetInstanceNames ( ) : IEnumerable
Résultat IEnumerable

GetSelectedInstanceName() public méthode

Gets selected instance name.
public GetSelectedInstanceName ( ) : string
Résultat string

HistorianQueryHubClient() public méthode

Creates a new HistorianQueryHubClient.
public HistorianQueryHubClient ( ) : System
Résultat System

SetSelectedInstanceName() public méthode

Set selected instance name.
public SetSelectedInstanceName ( string instanceName ) : void
instanceName string Instance name that is selected by user.
Résultat void