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

@@ -26,13 +26,13 @@ bool ParticipantManagement::EquipmentEventHandling::EquipmentEventHandler::init(
{
if (!m_mainHandler->tabDtc()->enableEquipmentEvent())
{
ERROR_LOG() << " TAB Dtc enableEquipmentEvent() failed !";
ERROR_LOG(m_logger) << " TAB Dtc enableEquipmentEvent() failed !";
return false;
}
if (!m_mainHandler->dts()->enableEquipmentSystemEventFtcReply())
{
ERROR_LOG() << " Dts enableEquipmentSystemEventDataFtcReply() failed !";
ERROR_LOG(m_logger) << " Dts enableEquipmentSystemEventDataFtcReply() failed !";
return false;
}
connect(m_mainHandler->tabDtc().get(), &TrainingAreaBase::Interface::Dtc::equipmentEventChanged, this, &EquipmentEventHandler::onEquipmentEventChanged);
@@ -43,7 +43,7 @@ bool ParticipantManagement::EquipmentEventHandling::EquipmentEventHandler::init(
void ParticipantManagement::EquipmentEventHandling::EquipmentEventHandler::onEquipmentSystemEventDataRequest(const rti::core::SampleIdentity &cookie,
const ParticipantManagement::EquipmentSystemEventDataRequest &request)
{
INFO_LOG() << "IN onEquipmentSystemEventDataRequest";
INFO_LOG(m_logger) << "IN onEquipmentSystemEventDataRequest";
Core::FunctionReplyObject ret;
@@ -58,13 +58,13 @@ void ParticipantManagement::EquipmentEventHandling::EquipmentEventHandler::onEqu
if (request.deviceSpecificEventCode() > -1)
stmt += QStringLiteral(" AND device_specific_event_code=") + QString::number(request.deviceSpecificEventCode());
INFO_LOG() << "stmt: " << stmt;
INFO_LOG(m_logger) << "stmt: " << stmt;
NSqlQuery q(m_mainHandler->db()->database());
if (!q.exec(stmt))
{
ERROR_LOG() << "Error while selecting event-data ";
ERROR_LOG() << "stmt : " << stmt;
ERROR_LOG(m_logger) << "Error while selecting event-data ";
ERROR_LOG(m_logger) << "stmt : " << stmt;
ret.setStr("Error while selecting data");
m_mainHandler->fts()->equipmentSystemEventDataReply(cookie, ret);
return;
@@ -132,7 +132,7 @@ void ParticipantManagement::EquipmentEventHandling::EquipmentEventHandler::onEqu
if (!m_mainHandler->dts()->publish(event))
{
ERROR_LOG() << "Error publishing equipment event to dds from eqnr: " << event.equipmentNumber() ;
ERROR_LOG(m_logger) << "Error publishing equipment event to dds from eqnr: " << event.equipmentNumber() ;
}
}