public void Test_GetRecentBySectorId() { var results = _repository.GetRecent(502776, 49); Assert.IsNotNull(results); Assert.AreEqual(results.iDate, "20160408"); }
public void Test_GetRecentBySectorId() { var results = _repository.GetRecent(501777, 49); Assert.IsNotNull(results); Assert.AreEqual(results.eNodeB_Id, 501777); Assert.AreEqual(results.cellLocalId, 49); Assert.AreEqual(results.adminState, 0); }
public CellPower Query() { var pbCfg = _ztePbRepository.GetRecent(_eNodebId, _sectorId); var paCfg = _ztePaRepository.GetRecent(_eNodebId, _sectorId); return(pbCfg == null || paCfg == null ? null : new CellPower(pbCfg, paCfg) { SectorId = _sectorId }); }
public CellHuaweiMongo Query() { var zteCell = _zteCellRepository.GetRecent(_eNodebId, _sectorId); var zteMeas = _zteMeasRepository.GetRecent(_eNodebId, _sectorId); var ztePrach = _ztePrachRepository.GetRecent(_eNodebId, _sectorId); return(new CellHuaweiMongo { PhyCellId = zteCell?.pci ?? 0, CellSpecificOffset = zteCell?.ocs ?? 15, QoffsetFreq = zteMeas?.eutranMeasParas_offsetFreq ?? 15, RootSequenceIdx = ztePrach?.rootSequenceIndex ?? -1 }); }