예제 #1
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;
        }
예제 #2
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);
        }
예제 #3
0
 private void TestAjustFactor(CoverageAdjustment ca, double azimuth, double factor,
                              Func <CoverageAdjustment, double> property)
 {
     ca.SetAdjustFactor(azimuth, factor);
     Assert.AreEqual(property(ca), factor);
 }