コード例 #1
0
ファイル: BlockStore.cs プロジェクト: bharath87/EDMSuite
        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);
        }
コード例 #2
0
ファイル: BlockStore.cs プロジェクト: ColdMatter/EDMSuite
        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;
        }