diff --git a/VectoCore/VectoCore/OutputData/FileIO/JSONFileWriter.cs b/VectoCore/VectoCore/OutputData/FileIO/JSONFileWriter.cs index f4e6e2cb8a02397444848627cf72556cee4ad183..72527a5f64af1cbb23ca83578851229d57515b60 100644 --- a/VectoCore/VectoCore/OutputData/FileIO/JSONFileWriter.cs +++ b/VectoCore/VectoCore/OutputData/FileIO/JSONFileWriter.cs @@ -21,6 +21,8 @@ public class JSONFileWriter : IOutputFileWriter private const int VectoJobFormatVersion = 5; + private const int VectoVTPJobFormatVersion = 4; + private static JSONFileWriter _instance; public const string VECTOvers = "3"; @@ -451,14 +453,14 @@ public class JSONFileWriter : IOutputFileWriter public void SaveJob(IVTPDeclarationInputDataProvider input, string filename, bool DeclMode) { - var header = GetHeader(VectoJobFormatVersion); + var header = GetHeader(VectoVTPJobFormatVersion); var body = SaveVTPJob(input.JobInputData, filename, true); WriteFile(header, body, filename); } public void SaveJob(IVTPEngineeringInputDataProvider input, string filename, bool DeclMode) { - var header = GetHeader(VectoJobFormatVersion); + var header = GetHeader(VectoVTPJobFormatVersion); var body = SaveVTPJob(input.JobInputData, filename, false); WriteFile(header, body, filename); }