public async void Test_GetWithENodebIdAndPci() { var results = await _repository.GetListAsync(501373, 341); Assert.IsNotNull(results); Assert.AreEqual(results.Count, 3931); Assert.AreEqual(results[0].InterfLevel ?? 0, 161.48, 1E-7); results[0].CurrentDate.ShouldBe(new DateTime(2016, 4, 28, 8, 45, 0)); results[0].ENodebId.ShouldBe(501373); results[0].Pci.ShouldBe(341); results[0].NeighborPci.ShouldBe(340); results[0].NeighborFreq.ShouldBe(100); Assert.AreEqual(results[0].Mod3Count, 0); results[0].Mod6Count.ShouldBe(0); results[0].Over6db.ShouldBe(23); results[0].Over10db.ShouldBe(30); }
public async Task <List <InterferenceMatrixMongo> > QueryMongoList(int eNodebId, byte sectorId, DateTime date) { var cellList = await _mongoRepository.GetListAsync(eNodebId + "-" + sectorId, date); return(cellList); }