15 lines
416 B
C++
15 lines
416 B
C++
|
#include "StrFdir.h"
|
||
|
|
||
|
#include "mission/acsDefs.h"
|
||
|
|
||
|
StrFdir::StrFdir(object_id_t strObject)
|
||
|
: DeviceHandlerFailureIsolation(strObject, objects::NO_OBJECT) {}
|
||
|
|
||
|
ReturnValue_t StrFdir::eventReceived(EventMessage* event) {
|
||
|
if (event->getEvent() == acs::MEKF_INVALID_MODE_VIOLATION) {
|
||
|
setFaulty(event->getEvent());
|
||
|
return returnvalue::OK;
|
||
|
}
|
||
|
return DeviceHandlerFailureIsolation::eventReceived(event);
|
||
|
}
|