mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Report upgrade WH
This commit is contained in:
@@ -201,7 +201,9 @@ QByteArray DataParser::createQueryToDBMessage(ClientQueryToDB *queryToDB, int id
|
||||
xmlWriter.writeStartElement("malfunction");
|
||||
xmlWriter.writeAttribute("dmCode", malfunction.dmCode);
|
||||
xmlWriter.writeAttribute("num", malfunction.num);
|
||||
xmlWriter.writeAttribute("description", malfunction.description);
|
||||
xmlWriter.writeAttribute("description", malfunction.description);
|
||||
xmlWriter.writeAttribute("goName", malfunction.goName);
|
||||
xmlWriter.writeAttribute("objName", malfunction.objName);
|
||||
|
||||
for(MalfunctionSign sign : malfunction.malfunctionSigns)
|
||||
{
|
||||
|
||||
@@ -862,6 +862,8 @@ void RecognizeSystem::xmlParserQueryToDB(PacketType packetType, QByteArray array
|
||||
malfunction.num = malfOrReportNode.toElement().attribute("num");
|
||||
malfunction.dmCode = malfOrReportNode.toElement().attribute("dmCode");
|
||||
malfunction.description = malfOrReportNode.toElement().attribute("description");
|
||||
malfunction.goName = malfOrReportNode.toElement().attribute("goName");
|
||||
malfunction.objName = malfOrReportNode.toElement().attribute("objName");
|
||||
|
||||
for(int s = 0; s < malfOrReportNode.childNodes().count(); s++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user