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.

ParameterDouble.h 573B

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