diff --git a/src/ATBAPP/DeviceControllerDiag.cpp b/src/ATBAPP/DeviceControllerDiag.cpp index 2a5f89f..7ca3742 100644 --- a/src/ATBAPP/DeviceControllerDiag.cpp +++ b/src/ATBAPP/DeviceControllerDiag.cpp @@ -230,6 +230,9 @@ void DeviceControllerDiag::sub_componentAssessment() // ----------------------------------------------------------------------------------------------- switch (devPara.kindOfCoinChecker) { + case 0: + this->coinProcessorType = nsDeviceControllerInterface::COIN_PROCESSOR::NONE; + break; case 1: case 2: this->coinProcessorType = nsDeviceControllerInterface::COIN_PROCESSOR::ESCROW; diff --git a/src/ATBAPP/DeviceControllerInterface.h b/src/ATBAPP/DeviceControllerInterface.h index c195860..f5ed5ba 100644 --- a/src/ATBAPP/DeviceControllerInterface.h +++ b/src/ATBAPP/DeviceControllerInterface.h @@ -234,7 +234,8 @@ namespace nsDeviceControllerInterface { enum class COIN_PROCESSOR : quint8 { CHANGER, - ESCROW + ESCROW, + NONE }; enum class BILL_ACCEPTOR : quint8 {