public void Test_GetReverseBySectorId()
        {
            var results = _repository.GetReverseList(500368, 48);

            Assert.IsNotNull(results);
            Assert.AreEqual(results.Count, 137);
            Assert.AreEqual(results[0].iDate, "20160408");
        }
        public List <NeighborCellMongo> Query()
        {
            var neighborCell     = _cellRepository.GetBySectorId(_destENodebId, _destSectorId);
            var neighborPci      = neighborCell?.Pci;
            var neighborENodeb   = _eNodebRepository.GetByENodebId(_destENodebId);
            var neighborCellName = neighborENodeb?.Name ?? "未知基站" + "-" + _destSectorId;
            var huaweiNeighbors  = _huaweiNeighborRepository.GetReverseList(_destENodebId, _destSectorId);

            return(huaweiNeighbors.Select(x =>
            {
                var result = Mapper.Map <EutranIntraFreqNCell, NeighborCellMongo>(x);
                result.NeighborPci = neighborPci ?? 0;
                result.NeighborCellName = neighborCellName;
                result.NeighborCellId = _destENodebId;
                result.NeighborSectorId = _destSectorId;
                var huaweiCell = _huaweiCellRepository.GetByLocal(x.eNodeB_Id, x.LocalCellId);
                result.SectorId = (byte?)(huaweiCell?.CellId) ?? 255;
                return result;
            }).ToList());
        }