Adds immediate migration results in progress

This commit is contained in:
torsten committed 2026-08-19 11:18:24 +02:00
1 parent 8453e104c5
commit 3bb6e89496
2102 files changed
+17482 -15071

No files matched your search

@@ -6,9 +6,8 @@
namespace Buildings
{
PpmHandler::PpmHandler(MainHandler *mainHandler)
: m_mainHandler(mainHandler)
{}
PpmHandler::PpmHandler(MainHandler *mainHandler) : m_mainHandler(mainHandler),
m_logger(NGL::NGLLoggerBootstrap::getLogger()) {}
PpmHandler::~PpmHandler()
{}
@@ -22,12 +21,12 @@ bool PpmHandler::init()
this, &PpmHandler::onParticipantPositionChanged);
if (!m_ppmDtc->enableEquipmentExerciseMapping())
{
ERROR_LOG() << "Can not read equipment/exercise mappings from PPM";
ERROR_LOG(m_logger) << "Can not read equipment/exercise mappings from PPM";
return false;
}
if (!m_ppmDtc->enableParticipantPosition())
{
ERROR_LOG() << "Can not read ParticipantPositions from PPM";
ERROR_LOG(m_logger) << "Can not read ParticipantPositions from PPM";
return false;
}
return true;
@@ -37,7 +36,7 @@ int PpmHandler::equipmentNumberToParticipantId(int equipmentNumber) const
{
const int ret = m_equipmentNumber2ParticipantId.value(equipmentNumber, -1);
if (ret < 0)
WARNING_LOG() << "Can not map equipment number " << equipmentNumber << " to a valid participant id - using -1";
WARNING_LOG(m_logger) << "Can not map equipment number " << equipmentNumber << " to a valid participant id - using -1";
return ret;
}