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

Defines openHistorian data query API functions.
Показать файл Открыть проект

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

Метод Описание
GetContiguousDataRegions ( Connection connection, System.DateTime startTime, System.DateTime stopTime, ulong measurementID, Resolution resolution, long expectedFullResolutionTicks = 333333 ) : DateTime>>.IEnumerable

Read historian data from server.

1 tick = 100 nanoseconds.

GetHistorianData ( Connection connection, System.DateTime startTime, System.DateTime stopTime, IEnumerable measurementIDs = null, Resolution resolution = Resolution.Full ) : IEnumerable

Read historian data from server.

GetHistorianData ( Connection connection, System.DateTime startTime, System.DateTime stopTime, string measurementIDs = null, Resolution resolution = Resolution.Full ) : IEnumerable

Read historian data from server.

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

GetContiguousDataRegions() публичный статический Метод

Read historian data from server.
1 tick = 100 nanoseconds.
public static GetContiguousDataRegions ( Connection connection, System.DateTime startTime, System.DateTime stopTime, ulong measurementID, Resolution resolution, long expectedFullResolutionTicks = 333333 ) : DateTime>>.IEnumerable
connection Connection openHistorian connection.
startTime System.DateTime Start time of query.
stopTime System.DateTime Stop time of query.
measurementID ulong Measurement ID to test for data continuity.
resolution Resolution Resolution for testing data.
expectedFullResolutionTicks long Expected number of ticks per interval at full resolution, e.g., 33,333 = 1/30 of a second representing a sampling interval of 30 times per second.
Результат DateTime>>.IEnumerable

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

Read historian data from server.
public static GetHistorianData ( Connection connection, System.DateTime startTime, System.DateTime stopTime, IEnumerable measurementIDs = null, Resolution resolution = Resolution.Full ) : IEnumerable
connection Connection openHistorian connection.
startTime System.DateTime Start time of query.
stopTime System.DateTime Stop time of query.
measurementIDs IEnumerable Array of measurement IDs to query - or null for all available points.
resolution Resolution Resolution for data query.
Результат IEnumerable

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

Read historian data from server.
public static GetHistorianData ( Connection connection, System.DateTime startTime, System.DateTime stopTime, string measurementIDs = null, Resolution resolution = Resolution.Full ) : IEnumerable
connection Connection openHistorian connection.
startTime System.DateTime Start time of query.
stopTime System.DateTime Stop time of query.
measurementIDs string Comma separated list of measurement IDs to query - or null for all available points.
resolution Resolution Resolution for data query.
Результат IEnumerable