private BlockStoreBlockResponse processBlockQueryAverage(BlockStoreBlockQuery query, int[] blockIDs) { BlockStoreBlockResponse br = new BlockStoreBlockResponse(); br.BlockID = -1; br.DetectorResponses = new Dictionary <string, BlockStoreDetectorResponse>(); br.Settings = getBlockConfig(blockIDs[0]); foreach (BlockStoreDetectorQuery q in query.DetectorQueries) { br.DetectorResponses.Add(q.Detector, processDetectorQueryAverage(q, blockIDs)); } return(br); }
private BlockStoreBlockResponse processBlockQueryAverage(BlockStoreBlockQuery query, int[] blockIDs) { BlockStoreBlockResponse br = new BlockStoreBlockResponse(); br.BlockID = -1; br.DetectorResponses = new Dictionary<string, BlockStoreDetectorResponse>(); br.Settings = getBlockConfig(blockIDs[0]); foreach (BlockStoreDetectorQuery q in query.DetectorQueries) br.DetectorResponses.Add(q.Detector, processDetectorQueryAverage(q, blockIDs)); return br; }