Update DeviceControllerInterface 1.0.2
Send cashInputFinished with coins/notes/change
This commit is contained in:
parent
30de664991
commit
8c1aa26145
@ -929,6 +929,9 @@ void ATBDeviceControllerPlugin::onCashPayStopByEscrow()
|
||||
emit this->cashInputFinished(nsDeviceControllerInterface::RESULT_STATE::ERROR_BACKEND,
|
||||
amountString,
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"");
|
||||
}
|
||||
|
||||
@ -944,6 +947,9 @@ void ATBDeviceControllerPlugin::onCashPayStopByError()
|
||||
emit this->cashInputFinished(nsDeviceControllerInterface::RESULT_STATE::ERROR_BACKEND,
|
||||
amountString,
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"");
|
||||
}
|
||||
|
||||
@ -959,6 +965,9 @@ void ATBDeviceControllerPlugin::onCashPayStopByTimeout()
|
||||
emit this->cashInputFinished(nsDeviceControllerInterface::RESULT_STATE::ERROR_BACKEND,
|
||||
amountString,
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"");
|
||||
}
|
||||
|
||||
@ -976,6 +985,9 @@ void ATBDeviceControllerPlugin::onCashPayStopedSuccess()
|
||||
|
||||
emit this->cashInputFinished(nsDeviceControllerInterface::RESULT_STATE::SUCCESS,
|
||||
amountString,
|
||||
"", // coins
|
||||
"", // notes
|
||||
"", // change
|
||||
"",
|
||||
"");
|
||||
}
|
||||
|
@ -119,7 +119,9 @@ signals:
|
||||
*/
|
||||
void cashInputFinished(nsDeviceControllerInterface::RESULT_STATE resultState,
|
||||
const QString & newCashValue,
|
||||
/* additional variables? */
|
||||
const QString & coinValue,
|
||||
const QString & noteValue,
|
||||
const QString & changeValue,
|
||||
const QString & errorCode,
|
||||
const QString & errorDescription);
|
||||
|
||||
@ -165,7 +167,7 @@ signals:
|
||||
|
||||
|
||||
Q_DECLARE_INTERFACE(DeviceControllerInterface,
|
||||
"eu.atb.ptu.plugin.DeviceControllerInterface/1.0.1")
|
||||
"eu.atb.ptu.plugin.DeviceControllerInterface/1.0.2")
|
||||
|
||||
|
||||
namespace nsDeviceControllerInterface {
|
||||
|
Loading…
Reference in New Issue
Block a user