diff --git a/VectoCore/VectoCore/InputData/Reader/Impl/DeclarationModeMultistageBusVectoRunDataFactory.cs b/VectoCore/VectoCore/InputData/Reader/Impl/DeclarationModeMultistageBusVectoRunDataFactory.cs index 2e47fddbc75f6d73c72dd5c207c494eefcc9f550..a8e816a0559025f3670ac2129d42138aee4332ff 100644 --- a/VectoCore/VectoCore/InputData/Reader/Impl/DeclarationModeMultistageBusVectoRunDataFactory.cs +++ b/VectoCore/VectoCore/InputData/Reader/Impl/DeclarationModeMultistageBusVectoRunDataFactory.cs @@ -32,7 +32,7 @@ namespace TUGraz.VectoCore.InputData.Reader.Impl Report = Report, Mission = new Mission { MissionType = MissionType.ExemptedMission }, VehicleData = CreateVehicleData(InputDataProvider.MultistageJobInputData.JobInputData.PrimaryVehicle.Vehicle), - MultistageVIFInputData = InputDataProvider, + MultistageVifInputData = InputDataProvider, }; } diff --git a/VectoCore/VectoCore/InputData/Reader/VectoRunDataFactoryFactory.cs b/VectoCore/VectoCore/InputData/Reader/VectoRunDataFactoryFactory.cs index 1b43c18fce2bef235d13d89a24f2d1d7704ffabc..34a30be767f8b9c22261521f93523315298f404b 100644 --- a/VectoCore/VectoCore/InputData/Reader/VectoRunDataFactoryFactory.cs +++ b/VectoCore/VectoCore/InputData/Reader/VectoRunDataFactoryFactory.cs @@ -68,15 +68,15 @@ namespace TUGraz.VectoCore.InputData.Reader } - private IVectoRunDataFactory CreateRunDataReader(IMultistageVIFInputData multistageVifInputData, IDeclarationReport report) + private IVectoRunDataFactory CreateRunDataReader(IMultistageVIFInputData multiStepVifInputData, IDeclarationReport report) { - if (multistageVifInputData.VehicleInputData == null) { + if (multiStepVifInputData.VehicleInputData == null) { return _internalFactory.CreateDeclarationCompletedBusRunDataFactory( new VehicleTypeAndArchitectureStringHelperRundata.VehicleClassification( - multistageVifInputData), multistageVifInputData, report); + multiStepVifInputData), multiStepVifInputData, report); } else { - return new DeclarationModeMultistageBusVectoRunDataFactory(multistageVifInputData, report); + return new DeclarationModeMultistageBusVectoRunDataFactory(multiStepVifInputData, report); } } diff --git a/VectoCore/VectoCore/Mockup/Reports/MockupReportFactory.cs b/VectoCore/VectoCore/Mockup/Reports/MockupReportFactory.cs index e841f6e9fc8155059206e663083117772cd31ba2..f664fe115d975a9f8e90f881deb626915d32640d 100644 --- a/VectoCore/VectoCore/Mockup/Reports/MockupReportFactory.cs +++ b/VectoCore/VectoCore/Mockup/Reports/MockupReportFactory.cs @@ -72,21 +72,21 @@ namespace TUGraz.VectoMockup.Reports : null; } - private IDeclarationReport CreateDeclarationReport(IMultistageVIFInputData multistageVifInputData, IOutputDataWriter outputDataWriter) + private IDeclarationReport CreateDeclarationReport(IMultistageVIFInputData multiStepVifInputData, IOutputDataWriter outputDataWriter) { - if (multistageVifInputData.VehicleInputData == null) + if (multiStepVifInputData.VehicleInputData == null) { var reportCompleted = new XMLDeclarationMockupReportCompletedVehicle(outputDataWriter, _mrfFactory, _cifFactory, _vifFactory, - multistageVifInputData.MultistageJobInputData.JobInputData.PrimaryVehicle.Vehicle.ExemptedVehicle) + multiStepVifInputData.MultistageJobInputData.JobInputData.PrimaryVehicle.Vehicle.ExemptedVehicle) { - PrimaryVehicleReportInputData = multistageVifInputData.MultistageJobInputData.JobInputData.PrimaryVehicle, + PrimaryVehicleReportInputData = multiStepVifInputData.MultistageJobInputData.JobInputData.PrimaryVehicle, }; return reportCompleted; } else { var report = new XMLDeclarationMockupReportInterimVehicle(outputDataWriter, _mrfFactory, _cifFactory, _vifFactory, _interimFactory, - multistageVifInputData.MultistageJobInputData.JobInputData.PrimaryVehicle.Vehicle.ExemptedVehicle); + multiStepVifInputData.MultistageJobInputData.JobInputData.PrimaryVehicle.Vehicle.ExemptedVehicle); return report; } } diff --git a/VectoCore/VectoCore/Mockup/Simulation/RundataFactories/VectoMockupRunDataFactoryFactory.cs b/VectoCore/VectoCore/Mockup/Simulation/RundataFactories/VectoMockupRunDataFactoryFactory.cs index 3d7ce134fc93f61dda12a87d228c05948e0f9b9d..20f36b793b7b882e51bef1bca7b687f27e895d07 100644 --- a/VectoCore/VectoCore/Mockup/Simulation/RundataFactories/VectoMockupRunDataFactoryFactory.cs +++ b/VectoCore/VectoCore/Mockup/Simulation/RundataFactories/VectoMockupRunDataFactoryFactory.cs @@ -45,17 +45,17 @@ namespace TUGraz.VectoMockup.Simulation.RundataFactories throw new VectoException("Unknown InputData for Declaration Mode!"); } - private IVectoRunDataFactory CreateRunDataReader(IMultistageVIFInputData multistageVifInputData, IDeclarationReport report) + private IVectoRunDataFactory CreateRunDataReader(IMultistageVIFInputData multiStepVifInputData, IDeclarationReport report) { - if (multistageVifInputData.VehicleInputData == null) + if (multiStepVifInputData.VehicleInputData == null) { return new MockupMultistageCompletedBusRunDataFactory( - multistageVifInputData, + multiStepVifInputData, report, new DeclarationDataAdapterSpecificCompletedBus.Conventional(), new DeclarationDeclarationDataAdapterGenericCompletedBusDeclaration.Conventional()); } else { - return new DeclarationModeMultistageBusVectoRunDataFactory(multistageVifInputData, report); + return new DeclarationModeMultistageBusVectoRunDataFactory(multiStepVifInputData, report); } } diff --git a/VectoCore/VectoCore/Models/Simulation/Data/VectoRunData.cs b/VectoCore/VectoCore/Models/Simulation/Data/VectoRunData.cs index bcb2043ca36590e8c9a74b35c4284f5139d6f70f..301472af8b330e0f1161886e92c6059e809b7a6a 100644 --- a/VectoCore/VectoCore/Models/Simulation/Data/VectoRunData.cs +++ b/VectoCore/VectoCore/Models/Simulation/Data/VectoRunData.cs @@ -175,7 +175,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Data public Watt ElectricAuxDemand { get; internal set; } [JsonIgnore] - public IMultistageVIFInputData MultistageVIFInputData { get; internal set; } + public IMultistageVIFInputData MultistageVifInputData { get; internal set; } // container to pass genset data from powertrain to post-processing, not filled by dataadapter/rundatafactory public GenSetData GenSet { get; set; } diff --git a/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/VehicleInformationFile_0_1/VehicleInformationFile/VehicleInformationFile_Interim.cs b/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/VehicleInformationFile_0_1/VehicleInformationFile/VehicleInformationFile_Interim.cs index 287f6703d2d5e8d2b4c0664a1155444856328523..da27bb082276e684474a44d96d33598f9cf7ed76 100644 --- a/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/VehicleInformationFile_0_1/VehicleInformationFile/VehicleInformationFile_Interim.cs +++ b/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/VehicleInformationFile_0_1/VehicleInformationFile/VehicleInformationFile_Interim.cs @@ -47,14 +47,14 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.VehicleInformationF public void Initialize(VectoRunData modelData) { - //InitializeVehicleData(modelData.MultistageVIFInputData); + //InitializeVehicleData(modelData.MultistageVifInputData); - _primaryVehicleInputData = modelData.MultistageVIFInputData.MultistageJobInputData.JobInputData.PrimaryVehicle; - _manufacturingStageInputData = modelData.MultistageVIFInputData.MultistageJobInputData.JobInputData.ManufacturingStages; - _consolidatedInputData = modelData.MultistageVIFInputData.MultistageJobInputData.JobInputData.ConsolidateManufacturingStage; - _vehicleInputData = modelData.MultistageVIFInputData.VehicleInputData; + _primaryVehicleInputData = modelData.MultistageVifInputData.MultistageJobInputData.JobInputData.PrimaryVehicle; + _manufacturingStageInputData = modelData.MultistageVifInputData.MultistageJobInputData.JobInputData.ManufacturingStages; + _consolidatedInputData = modelData.MultistageVifInputData.MultistageJobInputData.JobInputData.ConsolidateManufacturingStage; + _vehicleInputData = modelData.MultistageVifInputData.VehicleInputData; - _inputData = modelData.MultistageVIFInputData; + _inputData = modelData.MultistageVifInputData; SetInputXMLData(_primaryVehicleInputData.Vehicle.XMLSource); } diff --git a/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/XMLMultistageBusReport.cs b/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/XMLMultistageBusReport.cs index 8014f54f467732810739382b03926e1f6967addc..fded14e85c6599807f2f48f95d15fb96424570da 100644 --- a/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/XMLMultistageBusReport.cs +++ b/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/XMLMultistageBusReport.cs @@ -96,10 +96,10 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.VehicleInformationF public virtual void Initialize(VectoRunData modelData) { - _primaryVehicleInputData = modelData.MultistageVIFInputData.MultistageJobInputData.JobInputData.PrimaryVehicle; - _manufacturingStageInputData = modelData.MultistageVIFInputData.MultistageJobInputData.JobInputData.ManufacturingStages; - _consolidatedInputData = modelData.MultistageVIFInputData.MultistageJobInputData.JobInputData.ConsolidateManufacturingStage; - _vehicleInputData = modelData.MultistageVIFInputData.VehicleInputData; + _primaryVehicleInputData = modelData.MultistageVifInputData.MultistageJobInputData.JobInputData.PrimaryVehicle; + _manufacturingStageInputData = modelData.MultistageVifInputData.MultistageJobInputData.JobInputData.ManufacturingStages; + _consolidatedInputData = modelData.MultistageVifInputData.MultistageJobInputData.JobInputData.ConsolidateManufacturingStage; + _vehicleInputData = modelData.MultistageVifInputData.VehicleInputData; SetInputXMLData(_primaryVehicleInputData.Vehicle.XMLSource); } diff --git a/VectoCore/VectoCore/OutputData/XML/XMLDeclarationReportFactory.cs b/VectoCore/VectoCore/OutputData/XML/XMLDeclarationReportFactory.cs index d245d66cc657427390d2c9e8fa6f8d89004d7984..0e0eedf8950af2047d7b225f5074ba41153a694d 100644 --- a/VectoCore/VectoCore/OutputData/XML/XMLDeclarationReportFactory.cs +++ b/VectoCore/VectoCore/OutputData/XML/XMLDeclarationReportFactory.cs @@ -66,13 +66,13 @@ namespace TUGraz.VectoCore.OutputData.XML : null; } - private IDeclarationReport CreateDeclarationReport(IMultistageVIFInputData multistageVifInputData, IOutputDataWriter outputDataWriter) + private IDeclarationReport CreateDeclarationReport(IMultistageVIFInputData multiStepVifInputData, IOutputDataWriter outputDataWriter) { - if (multistageVifInputData.VehicleInputData == null) + if (multiStepVifInputData.VehicleInputData == null) { var reportCompleted = new XMLDeclarationReportCompletedVehicle(outputDataWriter, _mrfFactory, _cifFactory, _vifFactory) { - PrimaryVehicleReportInputData = multistageVifInputData.MultistageJobInputData.JobInputData.PrimaryVehicle, + PrimaryVehicleReportInputData = multiStepVifInputData.MultistageJobInputData.JobInputData.PrimaryVehicle, }; return reportCompleted; }