Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 99023f22 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

declarationdataadapter: write wheels dimenstion string to axle data

parent bc4a4c45
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,8 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdapter
TwinTyres = DeclarationData.Trailer.TwinTyres,
RollResistanceCoefficient = DeclarationData.Trailer.RollResistanceCoefficient,
TyreTestLoad = DeclarationData.Trailer.TyreTestLoad.SI<Newton>(),
Inertia = trailerWheel.Inertia
Inertia = trailerWheel.Inertia,
WheelsDimension = trailerWheel.WheelType
}));
}
retVal.AxleData = axleData;
......
......@@ -419,7 +419,7 @@ namespace TUGraz.VectoCore.OutputData.XML
private string CreateIdString(string id)
{
var regexp = new Regex("[^a-zA-Z0-9_-]");
var regexp = new Regex("[^a-zA-Z0-9_.-]");
return regexp.Replace(id, "");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment