예제 #1
0
        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));
                }
            }
        }
예제 #2
0
        public void GenerateMeasurableCellList(ComparableCell[] compCells, MeasurePoint point)
        {
            CellList.Clear();
            int count = Math.Min(compCells.Length, _maxMeasurableCells);

            for (int i = 0; i < count; i++)
            {
                MeasurableCell c = new MeasurableCell(compCells[i], point);
                c.CalculateRsrp();
                CellList.Add(c);
            }
        }