Files
fsfw/power/PowerComponentIF.h
T

24 lines
582 B
C++
Raw Normal View History

2020-12-03 18:29:28 +01:00
#ifndef FSFW_POWER_POWERCOMPONENTIF_H_
#define FSFW_POWER_POWERCOMPONENTIF_H_
2018-07-12 16:29:32 +02:00
2020-08-13 20:53:35 +02:00
#include "../serialize/SerializeIF.h"
#include "../parameters/HasParametersIF.h"
2020-12-03 18:29:28 +01:00
#include "../objectmanager/SystemObjectIF.h"
2018-07-12 16:29:32 +02:00
class PowerComponentIF : public SerializeIF, public HasParametersIF {
public:
2020-12-03 18:29:28 +01:00
virtual ~PowerComponentIF() {}
2018-07-12 16:29:32 +02:00
2020-12-03 18:29:28 +01:00
virtual object_id_t getDeviceObjectId() = 0;
2018-07-12 16:29:32 +02:00
2020-12-03 18:29:28 +01:00
virtual uint8_t getSwitchId1() = 0;
virtual uint8_t getSwitchId2() = 0;
virtual bool hasTwoSwitches() = 0;
2018-07-12 16:29:32 +02:00
virtual float getMin() = 0;
virtual float getMax() = 0;
};
2020-12-03 18:29:28 +01:00
#endif /* FSFW_POWER_POWERCOMPONENTIF_H_ */