2021-01-28 14:55:21 +01:00
|
|
|
#ifndef MISSION_DEVICES_ACUHANDLER_H_
|
|
|
|
#define MISSION_DEVICES_ACUHANDLER_H_
|
|
|
|
|
|
|
|
#include "GomspaceDeviceHandler.h"
|
|
|
|
#include <mission/devices/devicedefinitions/GomspaceDefinitions.h>
|
|
|
|
|
|
|
|
/**
|
2021-02-03 08:09:54 +01:00
|
|
|
* @brief Handler for the ACU from Gomspace. Monitors and controls the battery charging via
|
|
|
|
* the solar panels.
|
2021-01-28 14:55:21 +01:00
|
|
|
*/
|
|
|
|
class ACUHandler: public GomspaceDeviceHandler {
|
|
|
|
public:
|
|
|
|
ACUHandler(object_id_t objectId, object_id_t comIF, CookieIF * comCookie,
|
|
|
|
uint16_t maxConfigTableAddress, uint16_t maxHkTableAddress, uint16_t hkTableSize);
|
|
|
|
virtual ~ACUHandler();
|
|
|
|
protected:
|
|
|
|
|
|
|
|
virtual void letChildHandleHkReply(DeviceCommandId_t id, const uint8_t *packet) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
2021-02-03 08:09:54 +01:00
|
|
|
ACU::HkTableDataset acuHkTableDataset;
|
2021-01-28 14:55:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* MISSION_DEVICES_ACUHANDLER_H_ */
|