public void ImportMeasurePoint(MeasurePoint mPoint) { if (MainCell.Cell != mPoint.Result.StrongestCell.Cell.Cell) { return; } MainCell.UpdateRsrpPower(mPoint.Result.StrongestCell); CoverPoints++; foreach (MeasurableCell mcell in mPoint.CellRepository.CellList.Where(x => x != mPoint.Result.StrongestCell)) { MeasurePlanCell mpCell = InterferenceCells.FirstOrDefault( x => x.Cell == mcell.Cell.Cell); if (mpCell != null) { mpCell.UpdateRsrpPower(mcell); } else { InterferenceCells.Add(new MeasurePlanCell(mcell)); } } }
public void TestIntialize() { FakeMeasurableCell mmCell = new FakeMeasurableCell { OutdoorCell = new StubOutdoorCell(112, 22, 10), PciModx = 2, ReceivedRsrp = -10 }; smpCell = new MeasurePlanCell(mmCell); }