Пример #1
0
        public AggregateFlowView Get(string name, DateTime begin, DateTime end)
        {
            var cells = _viewService.GetHotSpotViews(name);
            var stats =
                cells.Select(cell => _service.QueryAverageView(cell.ENodebId, cell.SectorId, begin, end))
                .Where(view => view != null)
                .ToList();
            var result = stats.Any()
                ? stats.ArraySum().MapTo <AggregateFlowView>()
                : new AggregateFlowView();

            result.CellCount = stats.Count;
            return(result);
        }
 public IEnumerable <CellRruView> Get(string name)
 {
     return(_viewService.GetHotSpotViews(name));
 }