Start background task "ACCOUNT" only if CashBox is removed
This commit is contained in:
parent
e5f6405a19
commit
479582a9e2
@ -362,7 +362,6 @@ void ATBDeviceControllerPlugin::onVaultDoorOpened()
|
|||||||
// this is started here because we want to keep ptu awake in order to get
|
// this is started here because we want to keep ptu awake in order to get
|
||||||
// coin box removed / inserted etc.
|
// coin box removed / inserted etc.
|
||||||
// BackgroundTask("ACCOUNT") is finished, if account message is sent to ISMAS!
|
// BackgroundTask("ACCOUNT") is finished, if account message is sent to ISMAS!
|
||||||
this->dbus->startBackgroundTask("ACCOUNT");
|
|
||||||
|
|
||||||
// do not: emit this->requestModeSERVICE();
|
// do not: emit this->requestModeSERVICE();
|
||||||
}
|
}
|
||||||
@ -371,6 +370,9 @@ void ATBDeviceControllerPlugin::onCoinBoxRemoved()
|
|||||||
{
|
{
|
||||||
qCritical() << "ATBDeviceControllerPlugin::onCoinBoxRemoved()";
|
qCritical() << "ATBDeviceControllerPlugin::onCoinBoxRemoved()";
|
||||||
|
|
||||||
|
// BackgroundTask("ACCOUNT") is finished, if account message is sent to ISMAS!
|
||||||
|
this->dbus->startBackgroundTask("ACCOUNT");
|
||||||
|
|
||||||
QTimer::singleShot(4000, this, SLOT(private_startAccount()));
|
QTimer::singleShot(4000, this, SLOT(private_startAccount()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user