feat: cfi package update

This commit is contained in:
semenov
2026-02-16 09:35:38 +03:00
parent c16e99cc3e
commit a3d6c2899b
9 changed files with 21 additions and 11 deletions

View File

@@ -266,7 +266,7 @@ void ProcessingSystem::processingCFIUpdate(QByteArray array)
cfiController->unLockAccessToCfiXML();
commonClientServer->sendXmlAnswer(result);
commonClientServer->sendUpdatedCFI(result);
}
void ProcessingSystem::processingEntryUnityClient(ClientHandler *client)
@@ -735,6 +735,13 @@ void ProcessingSystem::processingClientNotify(ClientHandler *client, ClientNotif
{
chatSystem->sendOldMessages(clientData->getId());
}
else if (clientNotify.Code == commandGetCFI)
{
QByteArray result;
QString path = updateController->getPathAdditionalFile(cfiListFileName);
Tools::loadFileXMLtoByteArray(path,result);
client->sendXmlAnswer(result,PacketType::TYPE_UPDATEDCFI);
}
}
void ProcessingSystem::setCurrentDataInfo(DataInfo *dataInfo)