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

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.
Finish editing this message first!
Please register or to comment