eive-obsw/mission/system/DualLanePowerStateMachine.h

26 lines
743 B
C
Raw Normal View History

#ifndef MISSION_SYSTEM_DUALLANEPOWERSTATEMACHINE_H_
#define MISSION_SYSTEM_DUALLANEPOWERSTATEMACHINE_H_
#include <devices/powerSwitcherList.h>
#include <fsfw/modes/HasModesIF.h>
2022-03-22 15:49:22 +01:00
#include <mission/system/PowerStateMachineBase.h>
#include "definitions.h"
class AssemblyBase;
class PowerSwitchIF;
2022-03-22 15:49:22 +01:00
class DualLanePowerStateMachine : public PowerStateMachineBase {
public:
DualLanePowerStateMachine(pcduSwitches::Switches switchA, pcduSwitches::Switches switchB,
2022-03-07 18:39:33 +01:00
PowerSwitchIF* pwrSwitcher, dur_millis_t checkTimeout = 5000);
2022-03-22 15:49:22 +01:00
power::OpCodes fsm() override;
const pcduSwitches::Switches SWITCH_A;
const pcduSwitches::Switches SWITCH_B;
private:
};
#endif /* MISSION_SYSTEM_DUALLANEPOWERSTATEMACHINE_H_ */