From b6def014219eccb75b17586c79e11f671f273cd0 Mon Sep 17 00:00:00 2001
From: "harald.martini@student.tugraz.at" <harald.martini@student.tugraz.at>
Date: Wed, 18 Aug 2021 10:46:40 +0200
Subject: [PATCH] Added Primary- and StageInputPath Properties to JSONInputData

---
 .../VectoCore/InputData/FileIO/JSON/JSONInputData.cs  | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputData.cs b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputData.cs
index 067d7183e3..3d1e8d3033 100644
--- a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputData.cs
+++ b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputData.cs
@@ -1127,14 +1127,13 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON
 	public class JSONInputDataV10_PrimaryAndStageInputBus : JSONFile, IInputDataProvider, IMultistagePrimaryAndStageInputDataProvider
 	{
 		private readonly IXMLInputDataReader _xmlInputReader;
-		private string _primaryVehicleInputDataPath;
-
-		private string _stageInputDataPath;
+		private readonly string _primaryVehicleInputDataPath;
+		private readonly string _stageInputDataPath;
 		private IVehicleDeclarationInputData _stageInputData;
-
-
 		private IDeclarationInputDataProvider _primaryVehicle;
 
+		public string PrimaryVehicleInputDataPath => _primaryVehicleInputDataPath;
+		public string StageInputDataPath => _stageInputDataPath;
 		public IDeclarationInputDataProvider PrimaryVehicle => 
 			_primaryVehicle ?? (_primaryVehicle =
 				_xmlInputReader.CreateDeclaration(_primaryVehicleInputDataPath));
@@ -1147,6 +1146,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON
 			:
 			null;
 
+
+
 		private bool? _completed;
 
 		public bool? Completed
-- 
GitLab