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-04-25 10:36:03 +02:00
|
|
|
#include <mission/system/objects/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:
|
2022-03-25 16:01:44 +01:00
|
|
|
DualLanePowerStateMachine(power::Switch_t switchA, power::Switch_t 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-25 16:01:44 +01:00
|
|
|
const power::Switch_t SWITCH_A;
|
|
|
|
const power::Switch_t SWITCH_B;
|
2022-03-05 03:02:09 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* MISSION_SYSTEM_DUALLANEPOWERSTATEMACHINE_H_ */
|