Example #1
0
 private IEnumerable <SensorHistoryData> StreamSensorHistoryInternal(SensorHistoryParameters parameters, bool serial)
 {
     return(ObjectEngine.StreamObjects(
                parameters,
                serial,
                () => GetSensorHistoryTotals(parameters),
                p => GetSensorHistoryInternalAsync(p, CancellationToken.None),
                GetSensorHistoryInternal
                ));
 }