diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index 3e2e400..906d1ad 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -333,6 +333,9 @@ void ATBDeviceControllerPlugin::onServiceDoorOpened() { qCritical() << "ATBDeviceControllerPlugin::onServiceDoorOpened()"; + // ... to detect alarm etc. + this->diag->diagRequest(); + // switch to mode service emit this->requestModeSERVICE(); @@ -347,6 +350,12 @@ void ATBDeviceControllerPlugin::onVaultDoorOpened() // - create an HealthEvent (-> ISMAS-Event) qCritical() << "ATBDeviceControllerPlugin::onVaultDoorOpened()"; + // ... to detect alarm etc. + this->diag->diagRequest(); + + // this is started here because we want to keep ptu awake in order to get + // coin box removed / inserted etc. + // BackgroundTask("ACCOUNT") is finished, if account message is sent to ISMAS! this->dbus->startBackgroundTask("ACCOUNT"); // do not: emit this->requestModeSERVICE();