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 0469b5d0 authored by Harald Martini's avatar Harald Martini
Browse files

renamed MultistageVIFInputData to MultistageVifInputData, renamed parameter multistageVifInputData

parent 7d1a2762
No related branches found
No related tags found
No related merge requests found
Showing with 28 additions and 28 deletions
......@@ -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,
};
}
......
......@@ -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);
}
}
......
......@@ -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;
}
}
......
......@@ -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);
}
}
......
......@@ -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; }
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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;
}
......
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