fsfw/power/PowerComponentIF.h

24 lines
582 B
C
Raw Normal View History

2020-09-26 15:16:13 +02:00
#ifndef FSFW_POWER_POWERCOMPONENTIF_H_
#define FSFW_POWER_POWERCOMPONENTIF_H_
2020-08-28 18:33:29 +02:00
#include "../serialize/SerializeIF.h"
#include "../parameters/HasParametersIF.h"
2020-09-26 15:27:06 +02:00
#include "../objectmanager/SystemObjectIF.h"
2020-08-28 18:33:29 +02:00
class PowerComponentIF : public SerializeIF, public HasParametersIF {
public:
2020-09-26 15:27:06 +02:00
virtual ~PowerComponentIF() {}
2020-08-28 18:33:29 +02:00
2020-09-26 15:16:13 +02:00
virtual object_id_t getDeviceObjectId() = 0;
2020-08-28 18:33:29 +02:00
2020-09-26 15:16:13 +02:00
virtual uint8_t getSwitchId1() = 0;
virtual uint8_t getSwitchId2() = 0;
virtual bool hasTwoSwitches() = 0;
2020-08-28 18:33:29 +02:00
virtual float getMin() = 0;
virtual float getMax() = 0;
};
2020-09-26 15:16:13 +02:00
#endif /* FSFW_POWER_POWERCOMPONENTIF_H_ */