Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 63213f8a authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

set input data in vecto run data instance, correct writing airdrag in vif

parent 4078716f
No related branches found
No related tags found
No related merge requests found
......@@ -274,6 +274,7 @@ namespace TUGraz.VectoCore.InputData.Reader.Impl
SimulationType = SimulationType.DistanceCycle,
VehicleDesignSpeed = _segmentCompletedBus.DesignSpeed,
GearshiftParameters = _gearshiftData,
InputData = InputDataProvider
};
simulationRunData.EngineData.FuelMode = 0;
simulationRunData.VehicleData.VehicleClass = _segmentCompletedBus.VehicleClass;
......
......@@ -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,
};
}
......
......@@ -35,7 +35,8 @@ using TUGraz.VectoCommon.Models;
using TUGraz.VectoCore.Models.Connector.Ports.Impl;
using TUGraz.VectoCore.OutputData;
namespace TUGraz.VectoCore.Models.Simulation.Impl {
namespace TUGraz.VectoCore.Models.Simulation.Impl
{
internal class ExemptedRun : VectoRun
{
private Action<ModalDataContainer> _writeSumData;
......
......@@ -49,8 +49,9 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.VehicleInformationF
protected XElement GetAirdragElement(XMLDeclarationAirdragDataProviderV20 airdrag)
{
var retVal = new XElement(v24 + XMLNames.Component_AirDrag,
new XAttribute("xmlns", v20.NamespaceName));
var retVal = new XElement(v24 + XMLNames.Component_AirDrag//,
//new XAttribute("xmlns", v20.NamespaceName)
);
var tmp = XElement.Load(airdrag.XMLSource.CreateNavigator().ReadSubtree());
retVal.Add(tmp.Elements());
return retVal;
......
......@@ -101,6 +101,7 @@
<InternalsVisibleTo Include="VectoAuxiliariesTests" />
<InternalsVisibleTo Include="VECTO3" />
<InternalsVisibleTo Include="VECTOMultistage" />
<InternalsVisibleTo Include="VectoMockup"/>
<InternalsVisibleTo Include="Vecto3GUI2020Test" />
</ItemGroup>
......
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