* @brief Sets the parity index */
| 1111 | * @brief Sets the parity index |
| 1112 | */ |
| 1113 | void IO::Drivers::Modbus::setParityIndex(const quint8 index) |
| 1114 | { |
| 1115 | if (index < 5 && m_parityIndex != index) { |
| 1116 | m_parityIndex = index; |
| 1117 | m_settings.setValue("ModbusDriver/parityIndex", index); |
| 1118 | Q_EMIT parityIndexChanged(); |
| 1119 | } |
| 1120 | } |
| 1121 | |
| 1122 | /** |
| 1123 | * @brief Sets the data bits index |