2022-03-05 03:02:09 +01:00
|
|
|
#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>
|
2022-03-05 03:02:09 +01:00
|
|
|
|
|
|
|
#include "definitions.h"
|
|
|
|
|
|
|
|
class AssemblyBase;
|
|
|
|
class PowerSwitchIF;
|
|
|
|
|
2022-03-22 15:49:22 +01:00
|
|
|
class DualLanePowerStateMachine : public PowerStateMachineBase {
|
2022-03-05 03:02:09 +01:00
|
|
|
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;
|
|
|
|
|
2022-03-05 03:02:09 +01:00
|
|
|
const pcduSwitches::Switches SWITCH_A;
|
|
|
|
const pcduSwitches::Switches SWITCH_B;
|
|
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* MISSION_SYSTEM_DUALLANEPOWERSTATEMACHINE_H_ */
|