Пример #1
0
 public EventSimulator()
 {
     currentTick          = 0;
     tokenSource          = new CancellationTokenSource();
     token                = tokenSource.Token;
     cellularNetwork      = new CellularNetwork();
     vehicleEvents        = new Dictionary <string, VehicleEvent>();
     cellularTowerEvents  = new BlockingCollection <CellularTowerEvent>();
     VissimEventsFilePath = string.Format(this.VissimEventsFilePath, DateTime.Now.ToString("yyyyMMddHHmmssffff"));
 }
Пример #2
0
 public EventSimulator()
 {
     cellularNetwork     = new CellularNetwork();
     vehicleEvents       = new Dictionary <string, VehicleEvent>();
     cellularTowerEvents = new BlockingCollection <CellularTowerEvent>();
 }