diff --git a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputDataFactory.cs b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputDataFactory.cs index 9279393ce10ec0cecc08d4332d42d92cf8b8823d..520df4c9efb503ebef65682c1ac1b9c64c1d080f 100644 --- a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputDataFactory.cs +++ b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputDataFactory.cs @@ -139,8 +139,10 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON switch (version) { case 1: return new JSONTCUDataV1(json, filename, tolerateMissing); + case 6: + return new JSONGearboxDataV6(json, filename, tolerateMissing); default: - throw new VectoException("Engine-File: Unsupported FileVersion. Got {0}", version); + throw new VectoException("GearshiftParameter-File: Unsupported FileVersion. Got {0}", version); } } }