Digitalisierte Elektroverteilung zur permanenten Verbraucherüberwachung
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ParameterFloat.h 550B

3 years ago
1234567891011121314151617
  1. #pragma once
  2. #include "ParameterInterface.h"
  3. typedef float FP32;
  4. class ParameterFloat : public ParameterInterface<FP32>
  5. {
  6. private:
  7. public:
  8. ParameterFloat(const ModbusRegister description, uint16_t address, Access access) : ParameterInterface(description, address, access) {};
  9. ParameterFloat(const ModbusRegister description, const unsigned short address, const Access access, const Category cat) : ParameterInterface(description, address, access, cat) {};
  10. virtual ~ParameterFloat(){}
  11. uint8_t getSize() const override { return 32; }
  12. };