Compare commits
3 Commits
pu/CoinsNo
...
pu/Account
Author | SHA1 | Date | |
---|---|---|---|
246e23bffd
|
|||
07bb1bde50
|
|||
81a70bf387
|
@@ -439,9 +439,6 @@ void ATBDeviceControllerPlugin::onServiceDoorOpened()
|
|||||||
|
|
||||||
void ATBDeviceControllerPlugin::onVaultDoorOpened()
|
void ATBDeviceControllerPlugin::onVaultDoorOpened()
|
||||||
{
|
{
|
||||||
// TODO:
|
|
||||||
// - show special screen / message on screen
|
|
||||||
// - create an HealthEvent (-> ISMAS-Event)
|
|
||||||
qCritical() << "ATBDeviceControllerPlugin::onVaultDoorOpened()";
|
qCritical() << "ATBDeviceControllerPlugin::onVaultDoorOpened()";
|
||||||
|
|
||||||
// ... to detect alarm etc.
|
// ... to detect alarm etc.
|
||||||
@@ -452,7 +449,7 @@ void ATBDeviceControllerPlugin::onVaultDoorOpened()
|
|||||||
// 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("DOOR_OPEN");
|
this->dbus->startBackgroundTask("DOOR_OPEN");
|
||||||
|
|
||||||
// do not: emit this->requestModeSERVICE();
|
emit this->requestModeACCOUNT();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ATBDeviceControllerPlugin::onCoinBoxRemoved()
|
void ATBDeviceControllerPlugin::onCoinBoxRemoved()
|
||||||
|
@@ -146,6 +146,11 @@ signals:
|
|||||||
*/
|
*/
|
||||||
void requestModeSERVICE();
|
void requestModeSERVICE();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* emitted e.g. if vault door is opened
|
||||||
|
*/
|
||||||
|
void requestModeACCOUNT();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* emitted e.g. if doors are closed
|
* emitted e.g. if doors are closed
|
||||||
*/
|
*/
|
||||||
@@ -162,7 +167,11 @@ signals:
|
|||||||
void requestAccountResponse(const QHash<QString, QVariant> & accountData);
|
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,
|
Q_DECLARE_INTERFACE(DeviceControllerInterface,
|
||||||
"eu.atb.ptu.plugin.DeviceControllerInterface/1.0.3")
|
"eu.atb.ptu.plugin.DeviceControllerInterface/1.1.0")
|
||||||
|
|
||||||
|
|
||||||
namespace nsDeviceControllerInterface {
|
namespace nsDeviceControllerInterface {
|
||||||
|
Reference in New Issue
Block a user