コード例 #1
0
 private TollDataGenerator(Random r)
 {
     random      = r;
     eventBuffer = new EventBuffer();
     commercialVehicleRegistration = File.ReadAllLines(@"Data\Registration.csv");
 }
コード例 #2
0
 private TollDataGenerator(Random r)
 {
     random      = r;
     eventBuffer = new EventBuffer();
     commercialVehicleRegistration = JsonConvert.DeserializeObject <Registration[]>(File.ReadAllText(@"Data\Registration.json"));
 }