fsfw/power/PowerComponentIF.h

25 lines
540 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"
class PowerComponentIF : public SerializeIF, public HasParametersIF {
public:
virtual ~PowerComponentIF() {
}
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_ */