Robin Mueller
b75102f670
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
25 lines
594 B
C++
25 lines
594 B
C++
#ifndef MISSION_SYSTEM_OBJECTS_STACK5VHANDLER_H_
|
|
#define MISSION_SYSTEM_OBJECTS_STACK5VHANDLER_H_
|
|
|
|
#include <fsfw/power/PowerSwitchIF.h>
|
|
|
|
#include "mission/devices/devicedefinitions/GomspaceDefinitions.h"
|
|
|
|
class Stack5VHandler {
|
|
public:
|
|
Stack5VHandler(PowerSwitchIF& switcher);
|
|
|
|
ReturnValue_t commandSwitchOn();
|
|
ReturnValue_t commandSwitchOff();
|
|
|
|
bool isSwitchOn();
|
|
|
|
private:
|
|
PowerSwitchIF& switcher;
|
|
bool radSensorIsOn = false;
|
|
bool plPcduIsOn = false;
|
|
pcdu::Switches stackSwitch = pcdu::Switches::P60_DOCK_5V_STACK;
|
|
};
|
|
|
|
#endif /* MISSION_SYSTEM_OBJECTS_STACK5VHANDLER_H_ */
|