|
IArchiveReadData(IEnumerableInt32, DateTime, DateTime, Boolean) Method
|
Reads time-series data from the repository.
Namespace: GSF.HistorianAssembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.248-beta
SyntaxIEnumerable<IDataPoint> ReadData(
IEnumerable<int> historianIDs,
DateTime startTime,
DateTime endTime,
bool timeSorted = true
)
Function ReadData (
historianIDs As IEnumerable(Of Integer),
startTime As DateTime,
endTime As DateTime,
Optional timeSorted As Boolean = true
) As IEnumerable(Of IDataPoint)
IEnumerable<IDataPoint^>^ ReadData(
IEnumerable<int>^ historianIDs,
DateTime startTime,
DateTime endTime,
bool timeSorted = true
)
abstract ReadData :
historianIDs : IEnumerable<int> *
startTime : DateTime *
endTime : DateTime *
?timeSorted : bool
(* Defaults:
let _timeSorted = defaultArg timeSorted true
*)
-> IEnumerable<IDataPoint>
function ReadData(historianIDs, startTime, endTime, timeSorted);
View SourceParameters
- 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
IEnumerableIDataPointIEnumerableT object containing zero or more
IDataPoints.
See Also