public void TestEvaluationOutdoorCell()
 {
     ENodeb eNodeb = new ENodeb { Name = "OMG" };
     EvaluationOutdoorCell eodCell = new EvaluationOutdoorCell(eNodeb, cell);
     Assert.IsNotNull(eodCell);
     Assert.AreEqual(eodCell.Height, 1);
     Assert.AreEqual(eodCell.Lattitute, 6);
     Assert.AreEqual(eodCell.Pci, 11);
     Assert.AreEqual(eodCell.CellName, "OMG-9");
 }
示例#2
0
        public void RemoveCell(string cellName)
        {
            EvaluationOutdoorCell cell = _service.QueryByName(cellName);

            if (cell == null)
            {
                return;
            }
            CellList.Remove(cell);
        }
示例#3
0
        public void TestEvaluationOutdoorCell()
        {
            ENodeb eNodeb = new ENodeb {
                Name = "OMG"
            };
            EvaluationOutdoorCell eodCell = new EvaluationOutdoorCell(eNodeb, cell);

            Assert.IsNotNull(eodCell);
            Assert.AreEqual(eodCell.Height, 1);
            Assert.AreEqual(eodCell.Lattitute, 6);
            Assert.AreEqual(eodCell.Pci, 11);
            Assert.AreEqual(eodCell.CellName, "OMG-9");
        }
 public void AddCell(EvaluationOutdoorCell cell)
 {
     IOutdoorCell existedCell = _service.QueryCell(cell);
     if (existedCell == null)
     {
         existedCell = _service.QueryCell(cell);
         CellList.Add(cell);
         if (existedCell == null)
         {
             Region = new EvaluationRegion(CellList,
                 EvaluationSettings.DistanceInMeter, EvaluationSettings.DegreeSpan);
         }
         Region.InitializeParameters(CellList, EvaluationSettings.DegreeSpan);
     }
 }
示例#5
0
        public void AddCell(EvaluationOutdoorCell cell)
        {
            IOutdoorCell existedCell = _service.QueryCell(cell);

            if (existedCell == null)
            {
                existedCell = _service.QueryCell(cell);
                CellList.Add(cell);
                if (existedCell == null)
                {
                    Region = new EvaluationRegion(CellList,
                                                  EvaluationSettings.DistanceInMeter, EvaluationSettings.DegreeSpan);
                }
                Region.InitializeParameters(CellList, EvaluationSettings.DegreeSpan);
            }
        }