Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 77554dc9 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

JSONInputData: moved setting of Retarder closer to vehicle

parent fe8cb025
No related branches found
No related tags found
No related merge requests found
......@@ -145,15 +145,12 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON
Path.Combine(BasePath, vehicleFile));
AngularGear = VehicleData as IAngularGearInputData;
Retarder = VehicleData as IRetarderInputData;
}
} catch (Exception e) {
throw new VectoException("JobFile: Failed to read Vehicle file '{0}': {1}", e, Body[JsonKeys.Vehicle_VehicleFile],
e.Message);
}
var retarder = VehicleData as IRetarderInputData;
if (retarder != null) {
Retarder = retarder;
}
}
#region IInputDataProvider
......
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