Beispiel #1
0
        public void TestCdmaCell_OneX()
        {
            CdmaCellExcel cellExcel = new CdmaCellExcel(mockReader.Object);

            cellExcel.Import();
            cellLineInfo = new MmlLineInfo(
                "ADD CELL: BTSID=90, FN=2, CN=90, SCTIDLST=\"1\", PNLST=\"232\", SID=13832, NID=65535, PZID=3, TYP=CDMA1X, LAC=\"0x2181\", LCN=90, LSCTID=\"1\", ASSALW1X=YES, IFBORDCELL=NO, REVRSSICARRASSNSW=OFF, AUTODWNFWDEQLCHANTHD=20, AUTODWNCOUNTTHD=600, UNBLKFWDEQLCHANTHD=40, LOCATE=URBAN, MICROCELL=NO, HARDASSIGNTYPE=BOTH_VOICE_DATA, ANASSIST1XDOSW=OFF;"
                );
            cell = cellLineInfo.GenerateCdmaCell();
            cell.Import(cellExcel, false);
            Assert.IsNotNull(cell);
            Assert.AreEqual(cell.BtsId, 90, "bts");
            Assert.AreEqual(cell.CellId, 90, "cell");
            Assert.AreEqual(cell.SectorId, 1);
            Assert.AreEqual(cell.Pn, 232);
            Assert.AreEqual(cell.CellType, "1X");
            Assert.AreEqual(cell.Frequency1, 12583);
            Assert.AreEqual(cell.Longtitute, 23.456);
            Assert.AreEqual(cell.Lattitute, 112.333);
            Assert.AreEqual(cell.Height, 100);
            Assert.AreEqual(cell.MTilt, 2);
            Assert.AreEqual(cell.ETilt, 23);
            Assert.AreEqual(cell.Azimuth, 66);
            Assert.AreEqual(cell.AntennaGain, 16.8);
            Assert.AreEqual(cell.Lac, "0x2181");
        }
Beispiel #2
0
 public void TestCdmaCell_OneX()
 {
     CdmaCellExcel cellExcel = new CdmaCellExcel(mockReader.Object);
     cellExcel.Import();
     cellLineInfo = new MmlLineInfo(
         "ADD CELL: BTSID=90, FN=2, CN=90, SCTIDLST=\"1\", PNLST=\"232\", SID=13832, NID=65535, PZID=3, TYP=CDMA1X, LAC=\"0x2181\", LCN=90, LSCTID=\"1\", ASSALW1X=YES, IFBORDCELL=NO, REVRSSICARRASSNSW=OFF, AUTODWNFWDEQLCHANTHD=20, AUTODWNCOUNTTHD=600, UNBLKFWDEQLCHANTHD=40, LOCATE=URBAN, MICROCELL=NO, HARDASSIGNTYPE=BOTH_VOICE_DATA, ANASSIST1XDOSW=OFF;"
         );
     cell = cellLineInfo.GenerateCdmaCell();
     cell.Import(cellExcel, false);
     Assert.IsNotNull(cell);
     Assert.AreEqual(cell.BtsId, 90, "bts");
     Assert.AreEqual(cell.CellId, 90, "cell");
     Assert.AreEqual(cell.SectorId, 1);
     Assert.AreEqual(cell.Pn, 232);
     Assert.AreEqual(cell.CellType, "1X");
     Assert.AreEqual(cell.Frequency1, 12583);
     Assert.AreEqual(cell.Longtitute, 23.456);
     Assert.AreEqual(cell.Lattitute, 112.333);
     Assert.AreEqual(cell.Height, 100);
     Assert.AreEqual(cell.MTilt, 2);
     Assert.AreEqual(cell.ETilt, 23);
     Assert.AreEqual(cell.Azimuth, 66);
     Assert.AreEqual(cell.AntennaGain, 16.8);
     Assert.AreEqual(cell.Lac, "0x2181");
 }
Beispiel #3
0
 public void TestCdmaCell(bool importNewInfo, int btsId, int cellId, byte sectorId, short pn, string cellType,
     short frequency1, double longtitute, double lattitute, double height, double mTilt, double eTilt, double azimuth,
     double antennaGain, string lac)
 {
     CdmaCellExcel cellExcel = new CdmaCellExcel(mockReader.Object);
     cellExcel.Import();
     AssertTest(importNewInfo, btsId, cellId, sectorId, pn, cellType, frequency1, longtitute, lattitute,
         height, mTilt, eTilt, azimuth, antennaGain, lac, cellExcel);
 }
Beispiel #4
0
        public void TestCdmaCell(bool importNewInfo, int btsId, int cellId, byte sectorId, short pn, string cellType,
                                 short frequency1, double longtitute, double lattitute, double height, double mTilt, double eTilt, double azimuth,
                                 double antennaGain, string lac)
        {
            CdmaCellExcel cellExcel = new CdmaCellExcel(mockReader.Object);

            cellExcel.Import();
            AssertTest(importNewInfo, btsId, cellId, sectorId, pn, cellType, frequency1, longtitute, lattitute,
                       height, mTilt, eTilt, azimuth, antennaGain, lac, cellExcel);
        }
Beispiel #5
0
 public void TestCdmaCellExcelConstruction()
 {
     cellExcel = new CdmaCellExcel(mockReader.Object);
     cellExcel.Import();
     Assert.AreEqual(cellExcel.BtsId, 3344);
     Assert.AreEqual(cellExcel.CellId, 12);
     Assert.AreEqual(cellExcel.Longtitute, 112.123);
     Assert.AreEqual(cellExcel.Lattitute, 23.456);
     Assert.AreEqual(cellExcel.Lac, "0x34");
     Assert.AreEqual(cellExcel.CellType, "DO");
 }
 public void TestCdmaCellExcelConstruction()
 {
     cellExcel = new CdmaCellExcel(mockReader.Object);
     cellExcel.Import();
     Assert.AreEqual(cellExcel.BtsId, 3344);
     Assert.AreEqual(cellExcel.CellId, 12);
     Assert.AreEqual(cellExcel.Longtitute, 112.123);
     Assert.AreEqual(cellExcel.Lattitute, 23.456);
     Assert.AreEqual(cellExcel.Lac, "0x34");
     Assert.AreEqual(cellExcel.CellType, "DO");
 }