Compare commits

..

3 Commits

2 changed files with 12 additions and 6 deletions

View File

@@ -439,9 +439,6 @@ void ATBDeviceControllerPlugin::onServiceDoorOpened()
void ATBDeviceControllerPlugin::onVaultDoorOpened()
{
// TODO:
// - show special screen / message on screen
// - create an HealthEvent (-> ISMAS-Event)
qCritical() << "ATBDeviceControllerPlugin::onVaultDoorOpened()";
// ... to detect alarm etc.
@@ -452,7 +449,7 @@ void ATBDeviceControllerPlugin::onVaultDoorOpened()
// BackgroundTask("ACCOUNT") is finished, if account message is sent to ISMAS!
this->dbus->startBackgroundTask("DOOR_OPEN");
// do not: emit this->requestModeSERVICE();
emit this->requestModeACCOUNT();
}
void ATBDeviceControllerPlugin::onCoinBoxRemoved()

View File

@@ -146,6 +146,11 @@ signals:
*/
void requestModeSERVICE();
/**
* emitted e.g. if vault door is opened
*/
void requestModeACCOUNT();
/**
* emitted e.g. if doors are closed
*/
@@ -162,7 +167,11 @@ signals:
void requestAccountResponse(const QHash<QString, QVariant> & accountData);
/**
* show text messages in service mode
*/
void showServiceText(const QString & text);
void showServiceText(quint16 textNumber);
/**
@@ -182,7 +191,7 @@ signals:
Q_DECLARE_INTERFACE(DeviceControllerInterface,
"eu.atb.ptu.plugin.DeviceControllerInterface/1.0.3")
"eu.atb.ptu.plugin.DeviceControllerInterface/1.1.0")
namespace nsDeviceControllerInterface {