Skip to content
Snippets Groups Projects
Commit 45b39cbd authored by Reinhard Biegel's avatar Reinhard Biegel
Browse files

Merge branch 'pcm-generator-doesnt-create-profilecatalog-schema0.4.8' into 'develop'

#179 - PCM Configs Generator doesn’t create the ProfilesCatalog( ver 0.4.8)

See merge request eclipse/openpass/opSimulation!106
parents 472a0032 71103225
No related branches found
No related tags found
2 merge requests!133Merge v0.11,!106#179 - PCM Configs Generator doesn’t create the ProfilesCatalog( ver 0.4.8)
Pipeline #17274 passed
/********************************************************************************
* Copyright (c) 2017-2021 ITK Engineering GmbH
*
* 2023 Hexad GmbH
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
......@@ -534,7 +534,7 @@ const QString ConfigWriter::WriteProfilesCatalog(XmlProfilesConfig &profilesConf
xmlWriter.writeStartElement("Profiles");
xmlWriter.writeAttribute("SchemaVersion", "0.4.6");
xmlWriter.writeAttribute("SchemaVersion", "0.4.8");
bool success = profilesConfig.WriteToXml(&xmlWriter);
......
/********************************************************************************
* Copyright (c) 2017-2021 ITK Engineering GmbH
* 2023 Hexad GmbH
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
......@@ -99,6 +100,14 @@ bool XmlProfilesConfig::WriteToXml(QXmlStreamWriter *xmlWriter)
xmlWriter->writeAttribute("Key", "OpenSpeedLimit");
xmlWriter->writeAttribute("Value", "INF");
xmlWriter->writeEndElement(); // Double
xmlWriter->writeStartElement("Double");
xmlWriter->writeAttribute("Key", "OpenSpeedLimitTrucks");
xmlWriter->writeAttribute("Value", "22.2222222");
xmlWriter->writeEndElement(); // Double
xmlWriter->writeStartElement("Double");
xmlWriter->writeAttribute("Key", "OpenSpeedLimitBuses");
xmlWriter->writeAttribute("Value", "27.7777777");
xmlWriter->writeEndElement(); // Double
xmlWriter->writeStartElement("Bool");
xmlWriter->writeAttribute("Key", "KeepToOuterLanes");
xmlWriter->writeAttribute("Value", "true");
......
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