Example #1
0
 public void Initial()
 {
     cellSuite = new CellSuite();
     context = new Context();
     tranceiverList = new List<Transceiver>();
     Transceiver tran1 = new Transceiver();
     Transceiver tran2 = new Transceiver();
     IACell cell1 = new MockCell();
     IACell cell2 = new MockCell();
    
     tran1.Cells.Add(cell1);
     tran2.Cells.Add(cell2);
     tranceiverList.Add(tran1);
     tranceiverList.Add(tran2);
     context.Add(ContextKeys.TranceiverList, tranceiverList);
 }
Example #2
0
 public void Initial()
 {
     binSuite = new BinSuite();
     tfMatrix = new TrueFalseMatrix(10, 10, 0.0, 10.0, 1, true);
     tranceiverList = new List<Transceiver>();          
     context = new Context();
     Transceiver tran1 = new Transceiver();
     Transceiver tran2 = new Transceiver();
     IACell cell1 = new MockCell();
     IACell cell2 = new MockCell();
     tran1.Cells.Add(cell1);
     tran2.Cells.Add(cell2);            
  
     tranceiverList.Add(tran1);
     tranceiverList.Add(tran2);
     context.Add(ContextKeys.TFMatrix, tfMatrix);
     context.Add(ContextKeys.TranceiverList, tranceiverList);
 }