Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit d62839da authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

fix bug in creating new gearbox file for AT-S from scratch. GUI tries to use...

fix bug in creating new gearbox file for AT-S from scratch. GUI tries to use vehicle category in order to decide whether TC is used in 1st or 1st and 2nd gear. use 'not truck' as default
parent 7fb76516
No related branches found
No related tags found
No related merge requests found
......@@ -104,12 +104,8 @@ namespace TUGraz.VectoCommon.Models
case VehicleCategory.RigidTruck:
case VehicleCategory.Tractor:
return true;
case VehicleCategory.CityBus:
case VehicleCategory.InterurbanBus:
case VehicleCategory.Coach:
return false;
default:
throw new ArgumentOutOfRangeException("VehicleCategory", category, null);
return false;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment