Ejemplo n.º 1
0
 private TollDataGenerator(Random r)
 {
     random      = r;
     eventBuffer = new EventBuffer();
     commercialVehicleRegistration = File.ReadAllLines(@"Data\Registration.csv");
 }
 private TollDataGenerator(Random r)
 {
     random      = r;
     eventBuffer = new EventBuffer();
     commercialVehicleRegistration = JsonConvert.DeserializeObject <Registration[]>(File.ReadAllText(@"Data\Registration.json"));
 }