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

Skip to content
Snippets Groups Projects
Commit 18657da6 authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

bugfix lookup vehicle group and considering vocational flag

parent a0ad9801
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,7 @@ namespace TUGraz.VectoCore.Models.Declaration
vehicleData.AxleConfiguration, vehicleData.GrossVehicleMassRating,
vehicleData.CurbMassChassis,
vehicleData.VocationalVehicle);
return Tuple.Create(truckSegment.VehicleClass, (bool?)false);
return Tuple.Create(truckSegment.VehicleClass, (bool?)vehicleData.VocationalVehicle);
} catch (VectoException) {
var truckSegment = DeclarationData.TruckSegments.Lookup(vehicleData.VehicleCategory,
vehicleData.AxleConfiguration, vehicleData.GrossVehicleMassRating,
......
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