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

@@ -31,7 +31,7 @@ HandlerTabData::~HandlerTabData()
//=============================================================================
bool HandlerTabData::init()
{
DEBUG_LOG() << "Begin HandlerTabData";
DEBUG_LOG(m_logger) << "Begin HandlerTabData";
auto dtcTab = m_mainHandler->dds()->dtcTab();
connect(dtcTab.get(), &TrainingAreaBase::Interface::Dtc::fireSmokeMarkerDataChanged,
this, &HandlerTabData::onFireSmokeMarkerDataChanged);
@@ -47,13 +47,13 @@ bool HandlerTabData::init()
return false;
}
DEBUG_LOG() << "End HandlerTabData";
DEBUG_LOG(m_logger) << "End HandlerTabData";
return true;
} // end of init()
//=============================================================================
void HandlerTabData::orderConfirmation(const ConvertToTab::OrderConfirmation_t &orderConfirmation)
{
DEBUG_LOG() << "Trigger Sending of Order Confirmation ";
DEBUG_LOG(m_logger) << "Trigger Sending of Order Confirmation ";
TrainingAreaBase::SendFireSmokeMarkerDataRequest out;
out.payload(ConvertToTab::convertOrderConfirmation(orderConfirmation));
@@ -63,7 +63,7 @@ void HandlerTabData::orderConfirmation(const ConvertToTab::OrderConfirmation_t &
//=============================================================================
void HandlerTabData::vehicleStatus(const ConvertToTab::VehicleStatus_t &vehicleStatus)
{
DEBUG_LOG() << "Trigger Sending of Vehicle Status ";
DEBUG_LOG(m_logger) << "Trigger Sending of Vehicle Status ";
TrainingAreaBase::SendFireSmokeMarkerDataRequest out;
out.payload(ConvertToTab::convertVehicleStatus(vehicleStatus));
@@ -73,9 +73,9 @@ void HandlerTabData::vehicleStatus(const ConvertToTab::VehicleStatus_t &vehicleS
void HandlerTabData::onSendFireSmokeMarkerDataReply(const Core::FunctionReplyObject &reply)
{
if (reply.error())
ERROR_LOG() << "Fire Smoke Marker Data could not be send: " << reply.str();
ERROR_LOG(m_logger) << "Fire Smoke Marker Data could not be send: " << reply.str();
else
DEBUG_LOG() << "Fire Smoke Marker Data send successfully to TAB!";
DEBUG_LOG(m_logger) << "Fire Smoke Marker Data send successfully to TAB!";
}
//-----------------------------------------------------------------------------
void HandlerTabData::onFireSmokeMarkerDataChanged(const TrainingAreaBase::FireSmokeMarkerData &data, DataModification modType)
@@ -83,43 +83,43 @@ void HandlerTabData::onFireSmokeMarkerDataChanged(const TrainingAreaBase::FireSm
if (modType == DataModification::eRemoved)
return;
DEBUG_LOG() << "Got Fire Smoke Marker " << data.sampleTime();
DEBUG_LOG(m_logger) << "Got Fire Smoke Marker " << data.sampleTime();
switch (ConvertFromTab::isTelegram(data))
{
case ConvertFromTab::RxTelegram_e::EffectShowOrder:
{
DEBUG_LOG() << "Got Effect Show Order";
DEBUG_LOG(m_logger) << "Got Effect Show Order";
m_mainHandler->handlerOrder()->createOrder(ConvertFromTab::convertEffectShowOrder(data));
break;
}
case ConvertFromTab::RxTelegram_e::RelocationOrder:
{
DEBUG_LOG() << "Got Relocation order ";
DEBUG_LOG(m_logger) << "Got Relocation order ";
m_mainHandler->handlerOrder()->createOrder(ConvertFromTab::convertRelocationOrder(data));
break;
}
case ConvertFromTab::RxTelegram_e::EffectShowStop:
{
DEBUG_LOG() << "Got Effect Show Stop ";
DEBUG_LOG(m_logger) << "Got Effect Show Stop ";
emit effectShowStopped(ConvertFromTab::convertEffectShowStop(data));
break;
}
case ConvertFromTab::RxTelegram_e::EffectShowContinue:
{
DEBUG_LOG() << "Got Effect Show Continue ";
DEBUG_LOG(m_logger) << "Got Effect Show Continue ";
emit effectShowContinued(ConvertFromTab::convertEffectShowContinue(data));
break;
}
case ConvertFromTab::RxTelegram_e::OrderRetract:
{
DEBUG_LOG() << "Got Order Retract ";
DEBUG_LOG(m_logger) << "Got Order Retract ";
m_mainHandler->handlerOrder()->removeOrder(ConvertFromTab::convertOrderRetract(data));
break;
}
case ConvertFromTab::RxTelegram_e::StatusRequest:
{
DEBUG_LOG() << "Got Status Request " ;
DEBUG_LOG(m_logger) << "Got Status Request " ;
if (ConvertFromTab::convertStatusRequest(data))
{
m_mainHandler->handlerOperatingCondition()->sendStatus();
@@ -128,9 +128,9 @@ void HandlerTabData::onFireSmokeMarkerDataChanged(const TrainingAreaBase::FireSm
}
case ConvertFromTab::RxTelegram_e::MeteoData:
{
DEBUG_LOG() << "Got Meteo Data ";
DEBUG_LOG(m_logger) << "Got Meteo Data ";
if (!m_mainHandler->dds()->dts()->publish(ConvertFromTab::convertMeteoData(data)))
ERROR_LOG() << "Error publishing MeteoNearVehicle to dds";
ERROR_LOG(m_logger) << "Error publishing MeteoNearVehicle to dds";
break;
}
case ConvertFromTab::RxTelegram_e::unknown: