Example #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");
 }
Example #2
0
 protected void Initialize()
 {
     btsLineInfo = new MmlLineInfo(
         "ADD BSCBTSINF: BTSTP=IBSC, BTSID=50, BTSNM=\"张槎工贸\", FN=7, SN=8, SSN=3, ABISCAPOPTMSW=OFF, ABISOPTMCRCSW=OFF, ABISREVFRAMEPERIOD=3, HIGHPW=NOHIGHPW, ABISREDUNDANCESW=OFF, INTRAFADAPFILTER=OFF, ABISBETRFBWTHR=0, PNSHARENUM1X=0, PNSHARENUMDO=0, ABISSATTRANSSW=OFF, DATATRFCRCSW=OFF, TODSW=OFF, VIP1XOCCUPYRES=OFF, BTSGRADE=GRADEC, BTSLOCATIONTYPE=LOCATION0, BTSPHYTYPE=MACRO;"
         );
     bts = btsLineInfo.GenerateCdmaBts();
     cellLineInfo = new MmlLineInfo(
         "ADD CELL: BTSID=4, FN=7, CN=3964, SCTIDLST=\"3\", PNLST=\"198\", SID=13832, NID=65535, PZID=1, TYP=EVDO, LCN=3964, LSCTID=\"3\", ASSALWDO=NO, DOAREVRSSICARRASSNSW=OFF, DOAPRVPRIASSSW=OFF, DOMULTIBANDASSIGNSW=OFF, DOUSERCOUNTTHD=20, DOAUTODWNCOUNTTHD=600, DOUNBLKUSERCOUNTTHD=40, LOCATE=URBAN, MICROCELL=NO, STAYMODE=MODE0, BANDCLASSASSIGNSW=OFF, DOBLOADEQUIARISW=OFF;"
         );
     cell = cellLineInfo.GenerateCdmaCell();
 }