Trigger CHECK_ISMAS_TRIGGER_SUCCESS-message to ISMAS.

This commit is contained in:
Gerhard Hoffmann 2024-04-29 14:58:29 +02:00
parent 853c29e448
commit adaa12395e

View File

@ -17,6 +17,7 @@
#include <QJsonParseError> #include <QJsonParseError>
#include <Qt> #include <Qt>
#include <QScopedPointer> #include <QScopedPointer>
#include <QRegularExpression>
#include "message_handler.h" #include "message_handler.h"
#include <DeviceController/interfaces.h> #include <DeviceController/interfaces.h>
@ -300,13 +301,18 @@ void Worker::privateUpdate() {
m_updateNotNecessary = true; m_updateNotNecessary = true;
m_ismasTriggerStatusMessage = QStringList(QString("NO UPDATE NECESSARY (%1)").arg(current.toString(Qt::ISODate))); m_ismasTriggerStatusMessage = QStringList(QString("NO UPDATE NECESSARY (%1)").arg(current.toString(Qt::ISODate)));
qCritical() << "privateUpdate m_ismasTriggerStatusMessage:" << QStringList(QString("NO UPDATE NECESSARY (%1)").arg(current.toString(Qt::ISODate))); qCritical() << "privateUpdate m_ismasTriggerStatusMessage:"
<< QStringList(m_ismasTriggerStatusMessage);
qCritical() << "***"; qCritical() << "***";
// the customer-repository does exist, but the ISMAS-trigger is // the customer-repository does exist, and the ISMAS-trigger is
// *NOT* "WAIT", but from 00:00:00 - 00:03:59 this counts as an // *NOT* "WAIT", but from 00:00:00 - 00:03:59 this counts as an
// automatic update // automatic update
QStringList lst = m_ismasTriggerStatusMessage;
// trigger message to ISMAS and CONSOLE
ISMAS(lst) << (CONSOLE(lst) << (m_lastFailedUpdateStep = UPDATE_STEP::CHECK_ISMAS_TRIGGER_SUCCESS));
// overwrite m_lastFailedUpdateStep
m_lastFailedUpdateStep = UPDATE_STEP::NONE; m_lastFailedUpdateStep = UPDATE_STEP::NONE;
return; return;
} }