first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifndef MODBUSCONFIG_H
|
||||
#define MODBUSCONFIG_H
|
||||
|
||||
#include "modbusaddress.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
struct ModbusConfig
|
||||
{
|
||||
QString host;
|
||||
int port;
|
||||
int serverAddress;
|
||||
int timeoutMs;
|
||||
int retryCount;
|
||||
int pollIntervalMs;
|
||||
int commandPulseMs;
|
||||
int feedbackTimeoutMs;
|
||||
int reconnectDelayMs;
|
||||
int reconnectAttempts;
|
||||
ModbusAddressMap addressMap;
|
||||
|
||||
static ModbusConfig defaultConfig();
|
||||
};
|
||||
|
||||
#endif // MODBUSCONFIG_H
|
||||
Reference in New Issue
Block a user