refact. SubProc превр. в класс. fix bug canplay

This commit is contained in:
2025-11-18 17:23:37 +03:00
parent b333ec8ec1
commit 31e01ff8e5
9 changed files with 157 additions and 123 deletions

View File

@@ -181,9 +181,9 @@ QByteArray DataParser::createQueryToDBMessage(ClientQueryToDB *queryToDB, int id
{
xmlWriter.writeStartElement("SubProc");
xmlWriter.writeAttribute("dmCode", subProc.dmCode);
xmlWriter.writeAttribute("title", subProc.title);
//xmlWriter.writeAttribute("canplay", subProc.modeList); //TODO возможно тут нужен canplay
xmlWriter.writeAttribute("dmCode", subProc.getDmCode());
xmlWriter.writeAttribute("title", subProc.getTitle());
xmlWriter.writeAttribute("canplay", subProc.getModeListStr());
xmlWriter.writeEndElement();
}