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

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

allow reading default values for effshift only for release candidates

parent 17c16f3f
No related branches found
No related tags found
No related merge requests found
......@@ -242,6 +242,7 @@ namespace TUGraz.VectoCore.Models.Declaration
// TODO: MQ 2019-11-26 remove, once the parameters are fixed! make fields above read-only or const
static GearboxTCU()
{
#if RELEASE_CANDIDATE
var expectedFile = @"Declaration\EffShiftParameters.vtcu";
if (!File.Exists(expectedFile)) {
return;
......@@ -287,8 +288,8 @@ namespace TUGraz.VectoCore.Models.Declaration
if (tmp != null && tmp.Body["ShiftStrategy"] != null) {
DefaultShiftStrategy = tmp.Body["ShiftStrategy"].Value<string>();
}
}
#endif
}
}
public static class Gearbox
......
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