diff --git a/src/ATBAPP/DeviceControllerInterface.h b/src/ATBAPP/DeviceControllerInterface.h index edd737e..39645c8 100644 --- a/src/ATBAPP/DeviceControllerInterface.h +++ b/src/ATBAPP/DeviceControllerInterface.h @@ -125,6 +125,21 @@ signals: const QString & errorCode, const QString & errorDescription); + /** + * emitted if cashPayment has been finished, e.g. in result to task cashCollect(): + * -> ticket should be printed sucessfully + * -> coins in excrow or changer are given back to user + * Provides data for logging, especially changed value + */ + void cashPaymentFinished(nsDeviceControllerInterface::RESULT_STATE resultState, + const QString & newCashValue, // total inserted amount amount + const QString & coinValue, // inserted amount, paid with coins + const QString & noteValue, // inserted amount, paid with notes + const QString & changeValue, // amount changed by changer/escrow + const QString & errorCode, + const QString & errorDescription); + + /** * emitted e.g. if service door is opened @@ -167,7 +182,7 @@ signals: Q_DECLARE_INTERFACE(DeviceControllerInterface, - "eu.atb.ptu.plugin.DeviceControllerInterface/1.0.2") + "eu.atb.ptu.plugin.DeviceControllerInterface/1.0.3") namespace nsDeviceControllerInterface {