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 e96a49e1 authored by Stefanos DOUMPOULAKIS's avatar Stefanos DOUMPOULAKIS
Browse files

Merge branch 'fix/506_pto_problems' into 'amdm2/develop'

Add support for PTO technologies with multiple gearmeshes without clutch disconnect

See merge request vecto/vecto!184
parents 740120e2 8f5c27cc
No related branches found
No related tags found
No related merge requests found
......@@ -64,11 +64,18 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider
if ("none".Equals(shaftGearWheels, StringComparison.InvariantCultureIgnoreCase)) {
return "None";
}
if ("only one engaged gearwheel above oil level".Equals(
shaftGearWheels, StringComparison.CurrentCultureIgnoreCase)) {
return "only one engaged gearwheel above oil level";
}
if ("PTO which includes 1 or more additional gearmesh(es), without disconnect clutch".Equals(
shaftGearWheels, StringComparison.CurrentCultureIgnoreCase))
{
return "PTO which includes 1 or more additional gearmesh(es), without disconnect clutch";
}
var otherElements = GetString(XMLNames.Vehicle_PTO_OtherElements);
var ptoTech = $"{shaftGearWheels} - {otherElements}";
if (DeclarationData.PTOTransmission.GetTechnologies().Contains(ptoTech)) {
......
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