diff --git a/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/DataProvider/XMLDeclarationVehicleDataProvider.cs b/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/DataProvider/XMLDeclarationVehicleDataProvider.cs index da8ada2f47b16ee1d33efbe1ced12b19841147d5..fb15aa2b2624aaa9542a2b8bbe87b73b318a681b 100644 --- a/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/DataProvider/XMLDeclarationVehicleDataProvider.cs +++ b/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/DataProvider/XMLDeclarationVehicleDataProvider.cs @@ -1254,7 +1254,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider get { return ElementExists(XMLNames.Bus_HeighIntegratedBody) - ? GetDouble(XMLNames.Bus_HeighIntegratedBody).SI<Meter>() * 0.001 + ? GetDouble(XMLNames.Bus_HeighIntegratedBody).SI(Unit.SI.Milli.Meter).Cast<Meter>() : null; } } @@ -1264,7 +1264,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider get { return ElementExists(XMLNames.Bus_VehicleLength) - ? GetDouble(XMLNames.Bus_VehicleLength).SI<Meter>() * 0.001 + ? GetDouble(XMLNames.Bus_VehicleLength).SI(Unit.SI.Milli.Meter).Cast<Meter>() : null; } } @@ -1274,7 +1274,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider get { return ElementExists(XMLNames.Bus_VehicleWidth) - ? GetDouble(XMLNames.Bus_VehicleWidth).SI<Meter>() * 0.001 + ? GetDouble(XMLNames.Bus_VehicleWidth).SI(Unit.SI.Milli.Meter).Cast<Meter>() : null; } } @@ -1284,7 +1284,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider get { return ElementExists(XMLNames.Bus_EntranceHeight) - ? GetDouble(XMLNames.Bus_EntranceHeight).SI<Meter>() * 0.001 + ? GetDouble(XMLNames.Bus_EntranceHeight).SI(Unit.SI.Milli.Meter).Cast<Meter>() : null; } } @@ -1489,7 +1489,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider get { return ElementExists(XMLNames.Bus_HeighIntegratedBody) - ? GetDouble(XMLNames.Bus_HeighIntegratedBody).SI<Meter>() * 0.001 + ? GetDouble(XMLNames.Bus_HeighIntegratedBody).SI(Unit.SI.Milli.Meter).Cast<Meter>() : null; } }