Skip to content
Snippets Groups Projects
Commit 4a7bf623 authored by marco-buttu's avatar marco-buttu
Browse files

Fixed a typo (RECEVER to RECEIVER)

parent 852d8555
No related branches found
No related tags found
No related merge requests found
...@@ -76,14 +76,14 @@ CConfiguration const * const CComponentCore::execute() throw ( ...@@ -76,14 +76,14 @@ CConfiguration const * const CComponentCore::execute() throw (
_IRA_LOGFILTER_LOG( _IRA_LOGFILTER_LOG(
LM_INFO, LM_INFO,
"CComponentCore::execute()", "CComponentCore::execute()",
"RECEVER_REMOTELY_CONTROLLABLE" "RECEIVER_REMOTELY_CONTROLLABLE"
); );
} }
else { else {
_IRA_LOGFILTER_LOG( _IRA_LOGFILTER_LOG(
LM_INFO, LM_INFO,
"CComponentCore::execute()", "CComponentCore::execute()",
"RECEVER_NOT_REMOTELY_CONTROLLABLE" "RECEIVER_NOT_REMOTELY_CONTROLLABLE"
); );
} }
...@@ -852,7 +852,7 @@ void CComponentCore::updateComponent() ...@@ -852,7 +852,7 @@ void CComponentCore::updateComponent()
m_componentStatus=Management::MNG_OK; m_componentStatus=Management::MNG_OK;
// if (checkStatusBit(LOCAL)) { // if (checkStatusBit(LOCAL)) {
// setComponentStatus(Management::MNG_FAILURE); // 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)) { if (checkStatusBit(VACUUMPUMPFAULT)) {
setComponentStatus(Management::MNG_WARNING); setComponentStatus(Management::MNG_WARNING);
...@@ -1006,14 +1006,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa ...@@ -1006,14 +1006,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa
_IRA_LOGFILTER_LOG( _IRA_LOGFILTER_LOG(
LM_INFO, LM_INFO,
"CComponentCore::updateIsRemote()", "CComponentCore::updateIsRemote()",
"RECEVER_SWITCHED_FROM_LOCAL_TO_REMOTE" "RECEIVER_SWITCHED_FROM_LOCAL_TO_REMOTE"
); );
} }
else if (!checkStatusBit(LOCAL) && !answer) { else if (!checkStatusBit(LOCAL) && !answer) {
_IRA_LOGFILTER_LOG( _IRA_LOGFILTER_LOG(
LM_INFO, LM_INFO,
"CComponentCore::updateIsRemote()", "CComponentCore::updateIsRemote()",
"RECEVER_SWITCHED_FROM_REMOTE_TO_LOCAL" "RECEIVER_SWITCHED_FROM_REMOTE_TO_LOCAL"
); );
} }
......
...@@ -70,14 +70,14 @@ CConfiguration const * const CComponentCore::execute() throw (ComponentErrors:: ...@@ -70,14 +70,14 @@ CConfiguration const * const CComponentCore::execute() throw (ComponentErrors::
_IRA_LOGFILTER_LOG( _IRA_LOGFILTER_LOG(
LM_INFO, LM_INFO,
"CComponentCore::execute()", "CComponentCore::execute()",
"RECEVER_REMOTELY_CONTROLLABLE" "RECEIVER_REMOTELY_CONTROLLABLE"
); );
} }
else { else {
_IRA_LOGFILTER_LOG( _IRA_LOGFILTER_LOG(
LM_INFO, LM_INFO,
"CComponentCore::execute()", "CComponentCore::execute()",
"RECEVER_NOT_REMOTELY_CONTROLLABLE" "RECEIVER_NOT_REMOTELY_CONTROLLABLE"
); );
} }
return &m_configuration; return &m_configuration;
...@@ -715,7 +715,7 @@ void CComponentCore::updateComponent() ...@@ -715,7 +715,7 @@ void CComponentCore::updateComponent()
m_componentStatus=Management::MNG_OK; m_componentStatus=Management::MNG_OK;
// if (checkStatusBit(LOCAL)) { // if (checkStatusBit(LOCAL)) {
// setComponentStatus(Management::MNG_FAILURE); // 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)) { if (checkStatusBit(VACUUMPUMPFAULT)) {
setComponentStatus(Management::MNG_WARNING); setComponentStatus(Management::MNG_WARNING);
...@@ -857,14 +857,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa ...@@ -857,14 +857,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa
_IRA_LOGFILTER_LOG( _IRA_LOGFILTER_LOG(
LM_INFO, LM_INFO,
"CComponentCore::updateIsRemote()", "CComponentCore::updateIsRemote()",
"RECEVER_SWITCHED_FROM_LOCAL_TO_REMOTE" "RECEIVER_SWITCHED_FROM_LOCAL_TO_REMOTE"
); );
} }
else if (!checkStatusBit(LOCAL) && !answer) { else if (!checkStatusBit(LOCAL) && !answer) {
_IRA_LOGFILTER_LOG( _IRA_LOGFILTER_LOG(
LM_INFO, LM_INFO,
"CComponentCore::updateIsRemote()", "CComponentCore::updateIsRemote()",
"RECEVER_SWITCHED_FROM_REMOTE_TO_LOCAL" "RECEIVER_SWITCHED_FROM_REMOTE_TO_LOCAL"
); );
} }
......
...@@ -75,14 +75,14 @@ CConfiguration const * const CComponentCore::execute() throw ( ...@@ -75,14 +75,14 @@ CConfiguration const * const CComponentCore::execute() throw (
_IRA_LOGFILTER_LOG( _IRA_LOGFILTER_LOG(
LM_INFO, LM_INFO,
"CComponentCore::execute()", "CComponentCore::execute()",
"RECEVER_REMOTELY_CONTROLLABLE" "RECEIVER_REMOTELY_CONTROLLABLE"
); );
} }
else { else {
_IRA_LOGFILTER_LOG( _IRA_LOGFILTER_LOG(
LM_INFO, LM_INFO,
"CComponentCore::execute()", "CComponentCore::execute()",
"RECEVER_NOT_REMOTELY_CONTROLLABLE" "RECEIVER_NOT_REMOTELY_CONTROLLABLE"
); );
} }
...@@ -949,10 +949,10 @@ void CComponentCore::updateComponent() ...@@ -949,10 +949,10 @@ void CComponentCore::updateComponent()
{ {
baci::ThreadSyncGuard guard(&m_mutex); baci::ThreadSyncGuard guard(&m_mutex);
m_componentStatus=Management::MNG_OK; m_componentStatus=Management::MNG_OK;
if (checkStatusBit(LOCAL)) { // if (checkStatusBit(LOCAL)) {
setComponentStatus(Management::MNG_FAILURE); // 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)) { if (checkStatusBit(VACUUMPUMPFAULT)) {
setComponentStatus(Management::MNG_WARNING); setComponentStatus(Management::MNG_WARNING);
_IRA_LOGFILTER_LOG(LM_WARNING,"CComponentCore::updateComponent()","VACUUM_PUMP_FAILURE"); _IRA_LOGFILTER_LOG(LM_WARNING,"CComponentCore::updateComponent()","VACUUM_PUMP_FAILURE");
...@@ -1103,14 +1103,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa ...@@ -1103,14 +1103,14 @@ void CComponentCore::updateIsRemote() throw (ReceiversErrors::ReceiverControlBoa
_IRA_LOGFILTER_LOG( _IRA_LOGFILTER_LOG(
LM_INFO, LM_INFO,
"CComponentCore::updateIsRemote()", "CComponentCore::updateIsRemote()",
"RECEVER_SWITCHED_FROM_LOCAL_TO_REMOTE" "RECEIVER_SWITCHED_FROM_LOCAL_TO_REMOTE"
); );
} }
else if (!checkStatusBit(LOCAL) && !answer) { else if (!checkStatusBit(LOCAL) && !answer) {
_IRA_LOGFILTER_LOG( _IRA_LOGFILTER_LOG(
LM_INFO, LM_INFO,
"CComponentCore::updateIsRemote()", "CComponentCore::updateIsRemote()",
"RECEVER_SWITCHED_FROM_REMOTE_TO_LOCAL" "RECEIVER_SWITCHED_FROM_REMOTE_TO_LOCAL"
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment