30 lines
746 B
C
30 lines
746 B
C
|
#ifndef MISSION_CONTROLLER_CONTROLLERDEFINITIONS_POWERCTRLDEFINITIONS_H_
|
||
|
#define MISSION_CONTROLLER_CONTROLLERDEFINITIONS_POWERCTRLDEFINITIONS_H_
|
||
|
|
||
|
#include <fsfw/datapoollocal/StaticLocalDataSet.h>
|
||
|
#include <fsfw/datapoollocal/localPoolDefinitions.h>
|
||
|
|
||
|
#include <cstdint>
|
||
|
|
||
|
namespace pwrctrl {
|
||
|
|
||
|
enum SetIds : uint32_t { STATE_OF_CHARGE_DATA };
|
||
|
|
||
|
enum PoolIds : lp_id_t {
|
||
|
|
||
|
};
|
||
|
|
||
|
static constexpr uint8_t STATE_OF_CHARGE_ENTRIES = 6;
|
||
|
|
||
|
class StateOfChargedData : public StaticLocalDataSet<STATE_OF_CHARGE_ENTRIES> {
|
||
|
public:
|
||
|
StateOfChargedData(HasLocalDataPoolIF* hkOwner)
|
||
|
: StaticLocalDataSet(hkOwner, STATE_OF_CHARGE_DATA) {}
|
||
|
|
||
|
private:
|
||
|
};
|
||
|
|
||
|
} // namespace pwrctrl
|
||
|
|
||
|
#endif /* MISSION_CONTROLLER_CONTROLLERDEFINITIONS_POWERCTRLDEFINITIONS_H_ */
|