1#ifndef H_EXTENSIONS_CUTEHMI_MODBUS_4_INCLUDE_CUTEHMI_MODBUS_INTERNAL_DUMMYCLIENTBACKEND_HPP
2#define H_EXTENSIONS_CUTEHMI_MODBUS_4_INCLUDE_CUTEHMI_MODBUS_INTERNAL_DUMMYCLIENTBACKEND_HPP
5#include "AbstractClientBackend.hpp"
6#include "DummyClientConfig.hpp"
31 bool proceedRequest(
QUuid requestId)
override;
33 void readCoils(
QUuid requestId, quint16 startAddress, quint16 endAddress)
override;
35 void writeCoil(
QUuid requestId, quint16 address,
bool value)
override;
37 void writeMultipleCoils(
QUuid requestId, quint16 startAddress,
const QVector<quint16> & values)
override;
39 void readDiscreteInputs(
QUuid requestId, quint16 startAddress, quint16 endAddress)
override;
41 void readHoldingRegisters(
QUuid requestId, quint16 startAddress, quint16 endAddress)
override;
43 void writeHoldingRegister(
QUuid requestId, quint16 address, quint16 value)
override;
45 void writeMultipleHoldingRegisters(
QUuid requestId, quint16 startAddress,
const QVector<quint16> & values)
override;
47 void readInputRegisters(
QUuid requestId, quint16 startAddress, quint16 endAddress)
override;
52 void close()
override;
67 InputRegisterContainer inputRegisters;
68 HolidingRegisterContainer holdingRegisters;
69 DiscreteInputContainer discreteInputs;
State
Definition: AbstractDevice.hpp:48
Abstract client backend.
Definition: AbstractClientBackend.hpp:25
Definition: DummyClientBackend.hpp:14
Definition: DummyClientConfig.hpp:15
Definition: RegisterTraits.hpp:16