Robin Mueller
39022ce2f6
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
17 lines
511 B
C++
17 lines
511 B
C++
#include "StrFdir.h"
|
|
|
|
#include "mission/acs/defs.h"
|
|
|
|
StrFdir::StrFdir(object_id_t strObject, uint32_t missedReplyThreshold)
|
|
: DeviceHandlerFailureIsolation(strObject, objects::NO_OBJECT) {
|
|
missedReplyCount.setFailureThreshold(missedReplyThreshold);
|
|
}
|
|
|
|
ReturnValue_t StrFdir::eventReceived(EventMessage* event) {
|
|
if (event->getEvent() == acs::MEKF_INVALID_MODE_VIOLATION) {
|
|
setFaulty(event->getEvent());
|
|
return returnvalue::OK;
|
|
}
|
|
return DeviceHandlerFailureIsolation::eventReceived(event);
|
|
}
|