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