fixes for switchig algorithm
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
@ -13,10 +13,11 @@ class Stack5VHandler {
|
||||
static constexpr ReturnValue_t BUSY = returnvalue::makeCode(1, 0);
|
||||
Stack5VHandler(PowerSwitchIF& switcher);
|
||||
|
||||
ReturnValue_t deviceToOn(StackCommander commander);
|
||||
ReturnValue_t deviceToOff(StackCommander commander);
|
||||
ReturnValue_t deviceToOn(StackCommander commander, bool updateStates);
|
||||
ReturnValue_t deviceToOff(StackCommander commander, bool updateStates);
|
||||
|
||||
bool isSwitchOn();
|
||||
void update();
|
||||
|
||||
private:
|
||||
MutexIF* stackLock;
|
||||
@ -26,6 +27,8 @@ class Stack5VHandler {
|
||||
bool radSensorIsOn = false;
|
||||
bool plPcduIsOn = false;
|
||||
pcdu::Switches stackSwitch = pcdu::Switches::P60_DOCK_5V_STACK;
|
||||
|
||||
bool updateInternalStates();
|
||||
};
|
||||
|
||||
#endif /* MISSION_SYSTEM_OBJECTS_STACK5VHANDLER_H_ */
|
||||
|
Reference in New Issue
Block a user