v1.10.0 #220
@ -4,9 +4,7 @@
|
||||
|
||||
TcsSubsystem::TcsSubsystem(object_id_t objectId, object_id_t parentId, PowerSwitchIF* pwrSwitcher,
|
||||
power::Switch_t theSwitch, TcsBoardHelper helper)
|
||||
: AssemblyBase(objectId, parentId, 24),
|
||||
switcher(pwrSwitcher, theSwitch),
|
||||
helper(helper) {}
|
||||
: AssemblyBase(objectId, parentId, 24), switcher(pwrSwitcher, theSwitch), helper(helper) {}
|
||||
|
||||
void TcsSubsystem::performChildOperation() {
|
||||
switcher.doStateMachine();
|
||||
|
@ -13,12 +13,13 @@ struct TcsBoardHelper {
|
||||
|
||||
class TcsSubsystem : public AssemblyBase {
|
||||
public:
|
||||
TcsSubsystem(object_id_t objectId, object_id_t parentId, PowerSwitchIF *pwrSwitcher,
|
||||
TcsSubsystem(object_id_t objectId, object_id_t parentId, PowerSwitchIF* pwrSwitcher,
|
||||
power::Switch_t switcher, TcsBoardHelper helper);
|
||||
|
||||
ReturnValue_t initialize() override;
|
||||
|
||||
void performChildOperation() override;
|
||||
|
||||
private:
|
||||
static constexpr uint8_t NUMBER_RTDS = 16;
|
||||
PowerSwitcher switcher;
|
||||
@ -29,7 +30,7 @@ class TcsSubsystem : public AssemblyBase {
|
||||
ReturnValue_t checkChildrenStateOn(Mode_t wantedMode, Submode_t wantedSubmode) override;
|
||||
ReturnValue_t isModeCombinationValid(Mode_t mode, Submode_t submode) override;
|
||||
ReturnValue_t checkModeCommand(Mode_t mode, Submode_t submode,
|
||||
uint32_t* msToReachTheMode) override;
|
||||
uint32_t* msToReachTheMode) override;
|
||||
};
|
||||
|
||||
#endif /* MISSION_SYSTEM_TCSSUBSYSTEM_H_ */
|
||||
|
2
tmtc
2
tmtc
@ -1 +1 @@
|
||||
Subproject commit c2bdb2326b14fd05e6360e05c3820bd44d75a9cc
|
||||
Subproject commit 46c327101e24d61452ddb1cd3dd09cab87674abb
|
Loading…
x
Reference in New Issue
Block a user