* @brief Sets the TCP host address */
| 677 | * @brief Sets the TCP host address |
| 678 | */ |
| 679 | void IO::Drivers::Modbus::setHost(const QString& host) |
| 680 | { |
| 681 | if (m_host == host) |
| 682 | return; |
| 683 | |
| 684 | m_host = host; |
| 685 | m_settings.setValue("ModbusDriver/host", host); |
| 686 | Q_EMIT hostChanged(); |
| 687 | } |
| 688 | |
| 689 | /** |
| 690 | * @brief Sets the TCP port |
no outgoing calls
no test coverage detected