more TCS tests
This commit is contained in:
@ -20,8 +20,8 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "devices/heaterSwitcherList.h"
|
||||
#include "events/subsystemIdRanges.h"
|
||||
#include "mission/tcs/defs.h"
|
||||
#include "returnvalues/classIds.h"
|
||||
|
||||
class PowerSwitchIF;
|
||||
@ -75,8 +75,8 @@ class HeaterHandler : public ExecutableObjectIF,
|
||||
protected:
|
||||
enum SwitchAction : uint8_t { SET_SWITCH_OFF, SET_SWITCH_ON, NONE };
|
||||
|
||||
ReturnValue_t switchHeater(heater::Switchers heater, SwitchState switchState);
|
||||
HasHealthIF::HealthState getHealth(heater::Switchers heater);
|
||||
ReturnValue_t switchHeater(heater::Switch heater, SwitchState switchState);
|
||||
HasHealthIF::HealthState getHealth(heater::Switch heater);
|
||||
|
||||
ReturnValue_t performOperation(uint8_t operationCode = 0) override;
|
||||
|
||||
@ -174,7 +174,7 @@ class HeaterHandler : public ExecutableObjectIF,
|
||||
* @brief Returns the state of a switch (ON - true, or OFF - false).
|
||||
* @param switchNr The number of the switch to check.
|
||||
*/
|
||||
SwitchState getSwitchState(heater::Switchers switchNr) const;
|
||||
SwitchState getSwitchState(heater::Switch switchNr) const;
|
||||
|
||||
/**
|
||||
* @brief This function runs commands waiting for execution.
|
||||
@ -198,9 +198,9 @@ class HeaterHandler : public ExecutableObjectIF,
|
||||
const HasModesIF& getModeIF() const override;
|
||||
ModeTreeChildIF& getModeTreeChildIF() override;
|
||||
|
||||
void handleSwitchOnCommand(heater::Switchers heaterIdx);
|
||||
void handleSwitchOnCommand(heater::Switch heaterIdx);
|
||||
|
||||
void handleSwitchOffCommand(heater::Switchers heaterIdx);
|
||||
void handleSwitchOffCommand(heater::Switch heaterIdx);
|
||||
|
||||
/**
|
||||
* @brief Checks if all switches are off.
|
||||
|
Reference in New Issue
Block a user