コード例 #1
0
 public void StartAudi2()
 {
     Vehicle v = new Audi() { Name = "Audi Normal", DriverName = "D", Fuel = FuelType.ElectricCharging, Model = "Q5", Type = VehicleType.Hover };
     raceService.Start(v);
     //executing in thread
     Thread.Sleep(3100);
     raceService.GetAverageSpeed(v, 55, "00:17:04.05");
 }
コード例 #2
0
 public void StartAudi1()
 {
     Vehicle v = new Audi() { Name = "Audi Sport", DriverName = "C", Fuel = FuelType.ElectricCharging, Model = "A6", Type = VehicleType.Hover };
     raceService.Start(v);
     //executing in thread
     Thread.Sleep(2500);
     raceService.GetAverageSpeed(v, 50, "00:11:05.05");
 }