diff --git a/gui/plugins/pcmSimulation/Models/ConfigurationGeneratorPcm/ConfigWriter.cpp b/gui/plugins/pcmSimulation/Models/ConfigurationGeneratorPcm/ConfigWriter.cpp index 2553f3e29ef5333b0791e45b34b4ac735e774e02..32de0eb7f8c13fccb98951731a290f913d7f052b 100644 --- a/gui/plugins/pcmSimulation/Models/ConfigurationGeneratorPcm/ConfigWriter.cpp +++ b/gui/plugins/pcmSimulation/Models/ConfigurationGeneratorPcm/ConfigWriter.cpp @@ -1,6 +1,6 @@ /******************************************************************************** * 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); diff --git a/gui/plugins/pcmSimulation/Models/ConfigurationGeneratorPcm/DataStructuresXml/XmlProfilesConfig.cpp b/gui/plugins/pcmSimulation/Models/ConfigurationGeneratorPcm/DataStructuresXml/XmlProfilesConfig.cpp index b999be79f925166942550a26393cfa51eebe4ef8..cf94e054d58f3c6fa363acc250be3effa732441c 100644 --- a/gui/plugins/pcmSimulation/Models/ConfigurationGeneratorPcm/DataStructuresXml/XmlProfilesConfig.cpp +++ b/gui/plugins/pcmSimulation/Models/ConfigurationGeneratorPcm/DataStructuresXml/XmlProfilesConfig.cpp @@ -1,5 +1,6 @@ /******************************************************************************** * 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");