Click or drag to resize

IArchiveReadData(IEnumerableInt32, DateTime, DateTime, Boolean) Method

Reads time-series data from the repository.

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

Parameters

historianIDs  IEnumerableInt32
Historian identifiers for which IDataPoints are to be read.
startTime  DateTime
Start DateTime (in UTC) for the time-series data to be retrieved.
endTime  DateTime
End DateTime (in UTC) for the time-series data to be retrieved.
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