Пример #1
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);
     }
 }
Пример #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);
            }
        }
Пример #3
0
        private static CoverageAdjustment CalculateAdjumentFromCell(this CoverageStat coveragePoint,
            IOutdoorCell cell, byte modBase = 3)
        {
            MeasurableCell mCell = new MeasurableCell(coveragePoint, cell, modBase);
            mCell.CalculateRsrp();
            CoverageAdjustment adjustment = new CoverageAdjustment
            {
                ENodebId = coveragePoint.ENodebId,
                SectorId = coveragePoint.SectorId,
                Frequency = coveragePoint.Earfcn
            };

            adjustment.SetAdjustFactor(mCell.Cell.AzimuthAngle, mCell.ReceivedRsrp - coveragePoint.Rsrp);
            return adjustment;
        }
 public void TestMeasurableCellConnection_2_1G_Angle165()
 {
     _mCell = new MeasurableCell(_point, _cell);
     Assert.IsNotNull(_mCell);
     Assert.AreEqual(_mCell.CellName, "Cell-1");
     Assert.AreEqual(_mCell.PciModx, 1);
     Assert.AreEqual(_mCell.DistanceInMeter, 1572.533733, Eps);
     Assert.AreEqual(_mCell.Cell.AzimuthAngle, 165, Eps);
     Assert.AreEqual(_mCell.TiltAngle, 4.907073, Eps);
     Assert.AreEqual(_mCell.Budget.AntennaGain, 17.5);
     Assert.AreEqual(_mCell.Budget.TransmitPower, 15.2);
     Assert.AreEqual(_mCell.Budget.Model.Earfcn, 100);
     Assert.AreEqual(_mCell.Budget.Model.UrbanType, UrbanType.Large);
     _mCell.CalculateRsrp();
     Assert.AreEqual(_mCell.ReceivedRsrp, -145.286797, Eps);
 }