mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: add mathModel use
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user