Check and set WARNINGS
This commit is contained in:
parent
d868c15359
commit
ffa91a216c
@ -241,7 +241,14 @@ DeviceController::State DeviceControllerDiag::sub_componentAssessment()
|
||||
return DeviceController::State::E004;
|
||||
|
||||
// check for warnings
|
||||
|
||||
if (modCond.printer>=100 && modCond.printer<200)
|
||||
return DeviceController::State::W001;
|
||||
if (modCond.coinSafe>=100 && modCond.coinSafe<200)
|
||||
return DeviceController::State::W002;
|
||||
if (modCond.voltage>=100 && modCond.voltage<200)
|
||||
return DeviceController::State::W003;
|
||||
if (modCond.temper>=100 && modCond.temper<200)
|
||||
return DeviceController::State::W004;
|
||||
|
||||
return DeviceController::State::O000;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user