mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Ref T118, database writer new simplified slot
This commit is contained in:
@@ -135,6 +135,10 @@ namespace BlackCore
|
|||||||
bool directWrite;
|
bool directWrite;
|
||||||
const bool sendingSuccessful = CDatastoreUtility::parseSwiftPublishResponse(dataFileData, modelsPublished, modelsSkipped, msgs, directWrite);
|
const bool sendingSuccessful = CDatastoreUtility::parseSwiftPublishResponse(dataFileData, modelsPublished, modelsSkipped, msgs, directWrite);
|
||||||
emit this->publishedModels(modelsPublished, modelsSkipped, msgs, sendingSuccessful, directWrite);
|
emit this->publishedModels(modelsPublished, modelsSkipped, msgs, sendingSuccessful, directWrite);
|
||||||
|
if (!modelsPublished.isEmpty())
|
||||||
|
{
|
||||||
|
emit this->publishedModelsSimplified(modelsPublished);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -62,6 +62,9 @@ namespace BlackCore
|
|||||||
const BlackMisc::CStatusMessageList &messages,
|
const BlackMisc::CStatusMessageList &messages,
|
||||||
bool sendingSuccessful, bool directWrite);
|
bool sendingSuccessful, bool directWrite);
|
||||||
|
|
||||||
|
//! Published models, simplified version of publishedModels
|
||||||
|
void publishedModelsSimplified(const BlackMisc::Simulation::CAircraftModelList &modelsPublished);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BlackMisc::Network::CUrlLogList m_writeLog;
|
BlackMisc::Network::CUrlLogList m_writeLog;
|
||||||
BlackMisc::Network::CUrl m_modelPublishUrl;
|
BlackMisc::Network::CUrl m_modelPublishUrl;
|
||||||
|
|||||||
Reference in New Issue
Block a user