#ifndef MODBUSCONFIG_H #define MODBUSCONFIG_H #include "modbusaddress.h" #include struct ModbusConfig { QString host; int port; int serverAddress; int timeoutMs; int retryCount; int pollIntervalMs; int feedbackTimeoutMs; int reconnectDelayMs; int reconnectAttempts; ModbusAddressMap addressMap; static ModbusConfig defaultConfig(); }; #endif // MODBUSCONFIG_H