|
|
@@ -247,7 +247,8 @@ void DeviceControllerDiag::sub_componentAssessment()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (modCond.coinEscrow>=200) {
|
|
|
|
if (modCond.coinEscrow>=200) {
|
|
|
|
flag_sendOperate = false;
|
|
|
|
flag_sendOperate = false;
|
|
|
|
this->private_sendDiagEvent(DeviceController::State::E010);
|
|
|
|
// coinEscrow>200 is considered a warning:
|
|
|
|
|
|
|
|
this->private_sendDiagEvent(DeviceController::State::W010);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------------------------
|
|
|
|
// -----------------------------------------------------------------------------------------------
|
|
|
@@ -269,7 +270,8 @@ void DeviceControllerDiag::sub_componentAssessment()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (modCond.coinEscrow>=200) {
|
|
|
|
if (modCond.coinEscrow>=200) {
|
|
|
|
flag_sendOperate = false;
|
|
|
|
flag_sendOperate = false;
|
|
|
|
this->private_sendDiagEvent(DeviceController::State::E010);
|
|
|
|
// coinEscrow>200 is considered a warning:
|
|
|
|
|
|
|
|
this->private_sendDiagEvent(DeviceController::State::W010);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (modCond.coinSafe==201) { // full
|
|
|
|
if (modCond.coinSafe==201) { // full
|
|
|
|
flag_sendOperate = false;
|
|
|
|
flag_sendOperate = false;
|
|
|
@@ -341,7 +343,7 @@ void DeviceControllerDiag::sub_componentAssessment()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (modCond.temper>=200) {
|
|
|
|
if (modCond.temper>=200) {
|
|
|
|
flag_sendOperate = false;
|
|
|
|
flag_sendOperate = false;
|
|
|
|
this->private_sendDiagEvent(DeviceController::State::E004);
|
|
|
|
this->private_sendDiagEvent(DeviceController::State::W004);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// check for warnings
|
|
|
|
// check for warnings
|
|
|
@@ -452,6 +454,10 @@ void DeviceControllerDiag::private_sendDiagEvent(DeviceController::State result)
|
|
|
|
parameter = "coin escrow";
|
|
|
|
parameter = "coin escrow";
|
|
|
|
this->_isErrorState = true;
|
|
|
|
this->_isErrorState = true;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
case DeviceController::State::W010: // coin escrow
|
|
|
|
|
|
|
|
eventClass = EVENT_CLASS::WARNING;
|
|
|
|
|
|
|
|
parameter = "coin escrow";
|
|
|
|
|
|
|
|
break;
|
|
|
|
case DeviceController::State::E011: // mem error int.ee.
|
|
|
|
case DeviceController::State::E011: // mem error int.ee.
|
|
|
|
eventClass = EVENT_CLASS::ERROR;
|
|
|
|
eventClass = EVENT_CLASS::ERROR;
|
|
|
|
parameter = "mem error int.ee.";
|
|
|
|
parameter = "mem error int.ee.";
|
|
|
|