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.

ModbusTcp.h 369B

1234567891011121314151617181920
  1. #pragma once
  2. #include <modbuspp.h>
  3. #include "ModbusInterface.h"
  4. class ModbusTCP :
  5. public ModbusInterface
  6. {
  7. private:
  8. std::string port = "502";
  9. public:
  10. ModbusTCP(const u_int id, const std::string _ip, const u_int _port);
  11. virtual ~ModbusTCP();
  12. virtual void modbus_init() override;
  13. std::string getConnectionType()override { return "Tcp"; }
  14. };