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