Diag: do not interrupt on open doors (detect alarm!)
This commit is contained in:
parent
4df87873ce
commit
94d22c3bb5
@ -122,13 +122,11 @@ void DeviceControllerDiag::sys_superviseSystem()
|
|||||||
// Service or battery door is open, goto INTRUSION MODE
|
// Service or battery door is open, goto INTRUSION MODE
|
||||||
qCritical() << "DeviceControllerDiag::sys_superviseSystem() Service or battery door is open, goto INTRUSION MODE";
|
qCritical() << "DeviceControllerDiag::sys_superviseSystem() Service or battery door is open, goto INTRUSION MODE";
|
||||||
this->private_sendDiagEvent(DeviceController::State::E253);
|
this->private_sendDiagEvent(DeviceController::State::E253);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if (dynMaCond.middleDoor) {
|
if (dynMaCond.middleDoor) {
|
||||||
// vault door is open, goto INTRUSION MODE
|
// vault door is open, goto INTRUSION MODE
|
||||||
qCritical() << "DeviceControllerDiag::sys_superviseSystem() vault door is open, goto INTRUSION MODE";
|
qCritical() << "DeviceControllerDiag::sys_superviseSystem() vault door is open, goto INTRUSION MODE";
|
||||||
this->private_sendDiagEvent(DeviceController::State::E252);
|
this->private_sendDiagEvent(DeviceController::State::E252);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
qCritical() << " --> call sub_componentAssessment()";
|
qCritical() << " --> call sub_componentAssessment()";
|
||||||
|
Loading…
Reference in New Issue
Block a user