Click or drag to resize

IArchiveReadData(Int32, String, String, Boolean) Method

Reads time-series data from the repository.

Namespace: GSF.Historian
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.218-beta
Syntax
IEnumerable<IDataPoint> ReadData(
	int historianID,
	string startTime,
	string endTime,
	bool timeSorted = true
)
View Source

Parameters

historianID  Int32
Historian identifier for which IDataPoints are to be read.
startTime  String
String representation of the start time (in UTC) of the timespan for which IDataPoints are to be read.
endTime  String
String representation of the end time (in UTC) of the timespan for which IDataPoints are to be read.
timeSorted  Boolean  (Optional)
Indicates whether the data retrieved from the archive should be time sorted.

Return Value

IEnumerableIDataPoint
IEnumerableT object containing zero or more IDataPoints.
See Also