Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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

use gearbox file for shift parameters if available

parent 1549a246
No related branches found
No related tags found
No related merge requests found
......@@ -691,7 +691,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON
public override IGearshiftEngineeringInputData GearshiftInputData =>
Body["TCU"] == null
? null
? Body["GearboxFile"] == null ? null : JSONInputDataFactory.ReadShiftParameters(Path.Combine(BasePath, Body.GetEx<string>("GearboxFile")), false)
: JSONInputDataFactory.ReadShiftParameters(Path.Combine(BasePath, Body.GetEx<string>("TCU")), false);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment