Example #1
0
 public override Task <DeviceDetails> ProcessBatch(LogFile measures)
 {
     using (var stream = measures.ToSingleLogReadingsStream())
     {
         var singleLog = _rankingManager.FromSingleSensorReadings(stream);
         var ranking   = _rankingManager.GetRanking(singleLog);
         return(Task.FromResult(ranking));
     }
 }