C# Класс openHistorian.Adapters.HistorianQueryHubClient

Represents a client instance of a SignalR Hub for historian data queries.
Наследование: GSF.Web.Hubs.HubClientBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

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

Приватные методы

Метод Описание
GetConnection ( string instanceName ) : SnapClient
GetDatabase ( string instanceName ) : HistorianValue>.ClientDatabaseBase

Описание методов

Dispose() защищенный Метод

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.
Результат void

GetHistorianData() публичный Метод

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.
Результат IEnumerable

GetInstanceNames() публичный Метод

Gets loaded historian adapter instance names.
public GetInstanceNames ( ) : IEnumerable
Результат IEnumerable

GetSelectedInstanceName() публичный Метод

Gets selected instance name.
public GetSelectedInstanceName ( ) : string
Результат string

HistorianQueryHubClient() публичный Метод

Creates a new HistorianQueryHubClient.
public HistorianQueryHubClient ( ) : System
Результат System

SetSelectedInstanceName() публичный Метод

Set selected instance name.
public SetSelectedInstanceName ( string instanceName ) : void
instanceName string Instance name that is selected by user.
Результат void