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.

ParameterUInt16.h 557B

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