feat: add mathModel use

This commit is contained in:
semenov
2025-06-16 09:21:02 +03:00
parent e7b59de7c7
commit a8759fdf1c
141 changed files with 31722 additions and 16433 deletions

View File

@@ -88,6 +88,9 @@ void DataParser::createServerSettings(ServerSettings* serverSettings)
xmlWriter.writeAttribute("Port",serverSettings->Port);
xmlWriter.writeAttribute("Language","RUS");
xmlWriter.writeAttribute("AutoStart",QString::number(false));
xmlWriter.writeAttribute("DestPortMath","18003");
xmlWriter.writeAttribute("LocalPortMath","18004");
xmlWriter.writeAttribute("UseMathModel",QString::number(serverSettings->mathModelUse));
xmlWriter.writeEndElement();
@@ -239,6 +242,10 @@ ServerSettings *DataParser::getClientSettings()
if(name == "AutoStart"){
settings->isAutoStart = value.toInt();
}
if(name == "UseMathModel"){
settings->mathModelUse = value.toInt();
}
}
}