Click or drag to resize

ArchiveFileReadData(IEnumerableInt32, DateTime, DateTime, Boolean) Method

Reads ArchiveDataPoints from the ArchiveFile.

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

Parameters

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

Implements

IArchiveReadData(IEnumerableInt32, DateTime, DateTime, Boolean)
See Also