diff --git a/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/Reader/Impl/XMLComponentReader.cs b/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/Reader/Impl/XMLComponentReader.cs index 37165096ab145861e83a5b86ac9182f5a8bb09ad..afb0359a0b788559df8b788972f93760a97c0dd9 100644 --- a/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/Reader/Impl/XMLComponentReader.cs +++ b/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/Reader/Impl/XMLComponentReader.cs @@ -920,6 +920,9 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.Reader.Impl { return Factory.CreateBusAuxiliaires(version, Vehicle, componentNode, sourceFile); } + + public override IAirdragDeclarationInputData AirdragInputData => null; + #endregion } @@ -939,7 +942,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.Reader.Impl public override IGearboxDeclarationInputData GearboxInputData => null; public override ITorqueConverterDeclarationInputData TorqueConverterInputData => null; public override IAngledriveInputData AngledriveInputData => null; - + public override IAirdragDeclarationInputData AirdragInputData => null; + #endregion } diff --git a/VectoCore/VectoCoreTest/XML/XMLDeclarationInputv210.cs b/VectoCore/VectoCoreTest/XML/XMLDeclarationInputv210.cs index 45753222fb267ae61fb9184eb676830c0284accb..b3fab82f0770b122f1f8f03216dcf9d2686ef65c 100644 --- a/VectoCore/VectoCoreTest/XML/XMLDeclarationInputv210.cs +++ b/VectoCore/VectoCoreTest/XML/XMLDeclarationInputv210.cs @@ -1699,8 +1699,7 @@ namespace TUGraz.VectoCore.Tests.XML Assert.IsNotNull(vehicle.Components.AxleWheels); Assert.IsNull(vehicle.Components.AuxiliaryInputData); Assert.IsNotNull(vehicle.Components.BusAuxiliaries); - // ToDo Airdrag not allowed at PEV primary bus as defined within the related xsd - // Assert.IsNotNull(vehicle.Components.AirdragInputData); + Assert.IsNull(vehicle.Components.AirdragInputData); Assert.IsNotNull(vehicle.Components.ElectricStorage); Assert.IsNull(vehicle.Components.PTOTransmissionInputData); Assert.IsNull(vehicle.CargoVolume); @@ -1741,8 +1740,7 @@ namespace TUGraz.VectoCore.Tests.XML Assert.IsNotNull(vehicle.Components.AxleWheels); Assert.IsNull(vehicle.Components.AuxiliaryInputData); Assert.IsNotNull(vehicle.Components.BusAuxiliaries); - // ToDo Airdrag not allowed at PEV primary bus as defined within the related xsd - //Assert.IsNotNull(vehicle.Components.AirdragInputData); + Assert.IsNull(vehicle.Components.AirdragInputData); Assert.IsNotNull(vehicle.Components.ElectricStorage); Assert.IsNull(vehicle.Components.PTOTransmissionInputData); Assert.IsNull(vehicle.CargoVolume); @@ -1785,8 +1783,7 @@ namespace TUGraz.VectoCore.Tests.XML Assert.IsNotNull(vehicle.Components.AxleWheels); Assert.IsNull(vehicle.Components.AuxiliaryInputData); Assert.IsNotNull(vehicle.Components.BusAuxiliaries); - // ToDo Airdrag not allowed at PEV primary bus as defined within the related xsd - // Assert.IsNotNull(vehicle.Components.AirdragInputData); + Assert.IsNull(vehicle.Components.AirdragInputData); Assert.IsNotNull(vehicle.Components.ElectricStorage); Assert.IsNull(vehicle.Components.PTOTransmissionInputData); Assert.IsNull(vehicle.CargoVolume);