1 #ifndef H_EXTENSIONS_CUTEHMI_MODBUS_2_INCLUDE_CUTEHMI_MODBUS_INTERNAL_DUMMYCLIENTCONFIG_HPP
2 #define H_EXTENSIONS_CUTEHMI_MODBUS_2_INCLUDE_CUTEHMI_MODBUS_INTERNAL_DUMMYCLIENTCONFIG_HPP
7 #include <QReadWriteLock>
19 static constexpr
int INITIAL_OPEN_LATENCY = 1000;
20 static constexpr
int INITIAL_CLOSE_LATENCY = 1000;
21 static constexpr
int INITIAL_LATENCY = 1000;
25 int openLatency()
const;
27 void setOpenLatency(
int openLatency);
29 int closeLatency()
const;
31 void setCloseLatency(
int closeLatency);
35 void setLatency(
int latency);
43 int openLatency = INITIAL_OPEN_LATENCY;
44 int closeLatency = INITIAL_CLOSE_LATENCY;
45 int latency = INITIAL_LATENCY;