Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 0e12ef5f authored by Harald Martini's avatar Harald Martini
Browse files

updated JSONInputDataV10_PrimaryAndStageInputBus

parent aabec277
No related branches found
No related tags found
No related merge requests found
......@@ -1128,18 +1128,24 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON
{
private readonly IXMLInputDataReader _xmlInputReader;
private string _primaryVehicleInputDataPath;
private IVehicleDeclarationInputData _primaryVehicleInputData;
public IVehicleDeclarationInputData PrimaryVehicle =>
_primaryVehicleInputData ?? (_primaryVehicleInputData =
_xmlInputReader.CreateDeclaration(_primaryVehicleInputDataPath).JobInputData.Vehicle);
private string _stageInputDataPath;
private IVehicleDeclarationInputData _stageInputData;
public IVehicleDeclarationInputData StageInputData =>
_stageInputData ?? (_stageInputData =
_xmlInputReader.CreateDeclaration(_stageInputDataPath).JobInputData.Vehicle);
private IDeclarationInputDataProvider _primaryVehicle;
public IDeclarationInputDataProvider PrimaryVehicle =>
_primaryVehicle ?? (_primaryVehicle =
_xmlInputReader.CreateDeclaration(_primaryVehicleInputDataPath));
public IVehicleDeclarationInputData StageInputData =>
_stageInputDataPath != null
?
_stageInputData ?? (_stageInputData =
_xmlInputReader.CreateDeclaration(_stageInputDataPath).JobInputData.Vehicle)
:
null;
private bool? _completed;
......
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