Account: start dbus backgroundTask

This commit is contained in:
Siegfried Siegert 2023-07-20 08:15:30 +02:00
parent f790d327e9
commit e3d73cbb66
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -347,7 +347,7 @@ void ATBDeviceControllerPlugin::onVaultDoorOpened()
// - create an HealthEvent (-> ISMAS-Event) // - create an HealthEvent (-> ISMAS-Event)
qCritical() << "ATBDeviceControllerPlugin::onVaultDoorOpened()"; qCritical() << "ATBDeviceControllerPlugin::onVaultDoorOpened()";
// TODO: Start background task "ACCOUNT" this->dbus->startBackgroundTask("ACCOUNT");
// do not: emit this->requestModeSERVICE(); // do not: emit this->requestModeSERVICE();
} }
@ -368,9 +368,7 @@ void ATBDeviceControllerPlugin::onCBinAndAllDoorsClosed()
{ {
qCritical() << "ATBDeviceControllerPlugin::onCBinAndAllDoorsClosed()"; qCritical() << "ATBDeviceControllerPlugin::onCBinAndAllDoorsClosed()";
this->diag->diagRequest(); this->diag->diagRequest();
// TODO: Stop background task "ACCOUNT"
QTimer::singleShot(2000, this, SIGNAL(requestModeIDLE())); QTimer::singleShot(2000, this, SIGNAL(requestModeIDLE()));
} }