refactor power module #590

Merged
gaisser merged 20 commits from eive/fsfw:mueller/refactor-power-switch-if-etc into development 2022-05-12 18:37:46 +02:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit d11f898f70 - Show all commits

View File

@ -8,6 +8,13 @@
#include "definitions.h"
#include "fsfw/objectmanager/SystemObject.h"
/**
gaisser marked this conversation as resolved Outdated

I think we should mention the intenion of this object.

I think we should mention the intenion of this object.

good ideal will add

good ideal will add
* @brief This component can be used to simulate a power switcher like a
* Power Control Distribution Unit (PCDU)
* @details
* The dummy switcher will simply cache the commanded fuse and switch states and return them
* in the according switch getter functions. In that sense, it simulates an ideal PCDU.
*/
class DummyPowerSwitcher : public SystemObject, public PowerSwitchIF {
public:
DummyPowerSwitcher(object_id_t objectId, size_t numberOfSwitches, size_t numberOfFuses,