#ifndef SETTINGSERIALPARAMETERS_H #define SETTINGSERIALPARAMETERS_H #include class SettingSerialParameters { public: SettingSerialParameters(); struct Settings { int parity = QSerialPort::EvenParity; int baud = QSerialPort::Baud19200; int dataBits = QSerialPort::Data8; int stopBits = QSerialPort::OneStop; int responseTime = 1000; int numberOfRetries = 3; }modbusSetting; }; #endif // SETTINGSERIALPARAMETERS_H