示例#1
0
        public IEnumerable <ENodebView> QueryCollegeENodebs(string collegeName,
                                                            DateTime begin, DateTime end)
        {
            var ids = _repository.GetENodebIds(collegeName);

            return((from id in ids
                    select _eNodebRepository.Get(id)
                    into eNodeb
                    where eNodeb != null
                    let stats = _alarmRepository.GetAllList(begin, end, eNodeb.ENodebId)
                                select ENodebView.ConstructView(eNodeb, stats)).ToList());
        }