reattempt power switching at least once
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:
@ -12,7 +12,10 @@ class PowerSwitchIF;
|
||||
class DualLanePowerStateMachine : public HasReturnvaluesIF {
|
||||
public:
|
||||
DualLanePowerStateMachine(pcduSwitches::Switches switchA, pcduSwitches::Switches switchB,
|
||||
PowerSwitchIF* pwrSwitcher, duallane::PwrStates& state);
|
||||
PowerSwitchIF* pwrSwitcher, duallane::PwrStates& state,
|
||||
dur_millis_t checkTimeout = 3000);
|
||||
void setCheckTimeout(dur_millis_t timeout);
|
||||
void reset();
|
||||
duallane::OpCodes powerStateMachine(Mode_t mode, Submode_t submode);
|
||||
const pcduSwitches::Switches SWITCH_A;
|
||||
const pcduSwitches::Switches SWITCH_B;
|
||||
@ -20,6 +23,7 @@ class DualLanePowerStateMachine : public HasReturnvaluesIF {
|
||||
private:
|
||||
duallane::PwrStates& state;
|
||||
PowerSwitchIF* pwrSwitcher = nullptr;
|
||||
Countdown checkTimeout;
|
||||
};
|
||||
|
||||
#endif /* MISSION_SYSTEM_DUALLANEPOWERSTATEMACHINE_H_ */
|
||||
|
Reference in New Issue
Block a user