Commit 4a7bf623 authored by marco-buttu's avatar marco-buttu
Browse files

Fixed a typo (RECEVER to RECEIVER)

parent 852d8555
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -76,14 +76,14 @@ CConfiguration const * const CComponentCore::execute() throw (
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::execute()",
            "RECEVER_REMOTELY_CONTROLLABLE"
            "RECEIVER_REMOTELY_CONTROLLABLE"
        );
    }
    else {
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::execute()",
            "RECEVER_NOT_REMOTELY_CONTROLLABLE"
            "RECEIVER_NOT_REMOTELY_CONTROLLABLE"
        );
    }

@@ -852,7 +852,7 @@ void CComponentCore::updateComponent()
    m_componentStatus=Management::MNG_OK;
    // if (checkStatusBit(LOCAL)) {
    //     setComponentStatus(Management::MNG_FAILURE);
    //     _IRA_LOGFILTER_LOG(LM_CRITICAL,"CComponentCore::updateComponent()","RECEVER_NOT_REMOTELY_CONTROLLABLE");
    //     _IRA_LOGFILTER_LOG(LM_CRITICAL,"CComponentCore::updateComponent()","RECEIVER_NOT_REMOTELY_CONTROLLABLE");
    // }
    if (checkStatusBit(VACUUMPUMPFAULT)) {
        setComponentStatus(Management::MNG_WARNING);
@@ -1006,14 +1006,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::updateIsRemote()",
            "RECEVER_SWITCHED_FROM_LOCAL_TO_REMOTE"
            "RECEIVER_SWITCHED_FROM_LOCAL_TO_REMOTE"
        );
    }
    else if (!checkStatusBit(LOCAL) && !answer) {
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::updateIsRemote()",
            "RECEVER_SWITCHED_FROM_REMOTE_TO_LOCAL"
            "RECEIVER_SWITCHED_FROM_REMOTE_TO_LOCAL"
        );
    }

+5 −5
Original line number Diff line number Diff line
@@ -70,14 +70,14 @@ CConfiguration const * const CComponentCore::execute() throw (ComponentErrors::
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::execute()",
            "RECEVER_REMOTELY_CONTROLLABLE"
            "RECEIVER_REMOTELY_CONTROLLABLE"
        );
    }
    else {
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::execute()",
            "RECEVER_NOT_REMOTELY_CONTROLLABLE"
            "RECEIVER_NOT_REMOTELY_CONTROLLABLE"
        );
    }
    return &m_configuration;
@@ -715,7 +715,7 @@ void CComponentCore::updateComponent()
    m_componentStatus=Management::MNG_OK;
    // if (checkStatusBit(LOCAL)) {
    //     setComponentStatus(Management::MNG_FAILURE);
    //     _IRA_LOGFILTER_LOG(LM_CRITICAL,"CComponentCore::updateComponent()","RECEVER_NOT_REMOTELY_CONTROLLABLE");
    //     _IRA_LOGFILTER_LOG(LM_CRITICAL,"CComponentCore::updateComponent()","RECEIVER_NOT_REMOTELY_CONTROLLABLE");
    // }
    if (checkStatusBit(VACUUMPUMPFAULT)) {
        setComponentStatus(Management::MNG_WARNING);
@@ -857,14 +857,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::updateIsRemote()",
            "RECEVER_SWITCHED_FROM_LOCAL_TO_REMOTE"
            "RECEIVER_SWITCHED_FROM_LOCAL_TO_REMOTE"
        );
    }
    else if (!checkStatusBit(LOCAL) && !answer) {
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::updateIsRemote()",
            "RECEVER_SWITCHED_FROM_REMOTE_TO_LOCAL"
            "RECEIVER_SWITCHED_FROM_REMOTE_TO_LOCAL"
        );
    }

+8 −8
Original line number Diff line number Diff line
@@ -75,14 +75,14 @@ CConfiguration const * const CComponentCore::execute() throw (
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::execute()",
            "RECEVER_REMOTELY_CONTROLLABLE"
            "RECEIVER_REMOTELY_CONTROLLABLE"
        );
    }
    else {
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::execute()",
            "RECEVER_NOT_REMOTELY_CONTROLLABLE"
            "RECEIVER_NOT_REMOTELY_CONTROLLABLE"
        );
    }

@@ -949,10 +949,10 @@ void CComponentCore::updateComponent()
{
    baci::ThreadSyncGuard guard(&m_mutex);
    m_componentStatus=Management::MNG_OK;
    if (checkStatusBit(LOCAL)) {
        setComponentStatus(Management::MNG_FAILURE);
        _IRA_LOGFILTER_LOG(LM_CRITICAL,"CComponentCore::updateComponent()","RECEVER_NOT_REMOTELY_CONTROLLABLE");
    }
    // if (checkStatusBit(LOCAL)) {
    //     setComponentStatus(Management::MNG_FAILURE);
    //     _IRA_LOGFILTER_LOG(LM_CRITICAL,"CComponentCore::updateComponent()","RECEIVER_NOT_REMOTELY_CONTROLLABLE");
    // }
    if (checkStatusBit(VACUUMPUMPFAULT)) {
        setComponentStatus(Management::MNG_WARNING);
        _IRA_LOGFILTER_LOG(LM_WARNING,"CComponentCore::updateComponent()","VACUUM_PUMP_FAILURE");
@@ -1103,14 +1103,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::updateIsRemote()",
            "RECEVER_SWITCHED_FROM_LOCAL_TO_REMOTE"
            "RECEIVER_SWITCHED_FROM_LOCAL_TO_REMOTE"
        );
    }
    else if (!checkStatusBit(LOCAL) && !answer) {
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::updateIsRemote()",
            "RECEVER_SWITCHED_FROM_REMOTE_TO_LOCAL"
            "RECEIVER_SWITCHED_FROM_REMOTE_TO_LOCAL"
        );
    }