SoC Calculator #754
@ -1512,7 +1512,7 @@ ReturnValue_t PlocMpsocHandler::checkModeCommand(Mode_t commandedMode, Submode_t
|
|||||||
PoolReadGuard pg(&enablePl);
|
PoolReadGuard pg(&enablePl);
|
||||||
if (pg.getReadResult() == returnvalue::OK) {
|
if (pg.getReadResult() == returnvalue::OK) {
|
||||||
if (enablePl.plUseAllowed.isValid() and not enablePl.plUseAllowed.value) {
|
if (enablePl.plUseAllowed.isValid() and not enablePl.plUseAllowed.value) {
|
||||||
return NON_OP_SOC;
|
return NON_OP_STATE_OF_CHARGE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2000,7 +2000,7 @@ ReturnValue_t PlocSupervisorHandler::checkModeCommand(Mode_t commandedMode,
|
|||||||
PoolReadGuard pg(&enablePl);
|
PoolReadGuard pg(&enablePl);
|
||||||
if (pg.getReadResult() == returnvalue::OK) {
|
if (pg.getReadResult() == returnvalue::OK) {
|
||||||
if (enablePl.plUseAllowed.isValid() and not enablePl.plUseAllowed.value) {
|
if (enablePl.plUseAllowed.isValid() and not enablePl.plUseAllowed.value) {
|
||||||
return NON_OP_SOC;
|
return NON_OP_STATE_OF_CHARGE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -570,7 +570,7 @@ ReturnValue_t PayloadPcduHandler::checkModeCommand(Mode_t commandedMode, Submode
|
|||||||
PoolReadGuard pg(&enablePl);
|
PoolReadGuard pg(&enablePl);
|
||||||
if (pg.getReadResult() == returnvalue::OK) {
|
if (pg.getReadResult() == returnvalue::OK) {
|
||||||
if (enablePl.plUseAllowed.isValid() and not enablePl.plUseAllowed.value) {
|
if (enablePl.plUseAllowed.isValid() and not enablePl.plUseAllowed.value) {
|
||||||
return NON_OP_SOC;
|
return NON_OP_STATE_OF_CHARGE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user