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

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

remove check for min gvw < 7.5t

parent 438d5c6b
No related branches found
No related tags found
No related merge requests found
......@@ -84,9 +84,6 @@ namespace TUGraz.VectoCore.Models.Declaration
public Segment Lookup(VehicleCategory vehicleCategory, AxleConfiguration axleConfiguration,
Kilogram grossVehicleMassRating, Kilogram curbWeight, bool considerInvalid)
{
if (grossVehicleMassRating == null || grossVehicleMassRating < 7.5.SI(Unit.SI.Ton)){
throw new VectoException("Gross vehicle mass must be greater than 7.5 tons");
}
var row = GetSegmentDataRow(vehicleCategory, axleConfiguration, grossVehicleMassRating, considerInvalid);
if (row == null) {
......
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