Diag: do not interrupt on open doors (detect alarm!)

This commit is contained in:
Siegfried Siegert 2023-07-27 14:34:10 +02:00
parent 4df87873ce
commit 94d22c3bb5
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -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()";