QModbusTcpClient 類

The QModbusTcpClient class is the interface class for Modbus TCP client device. 更多...

頭: #include <QModbusTcpClient>
qmake: QT += serialbus
Since: Qt 5.8
繼承: QModbusClient

公共函數

QModbusTcpClient (QObject * parent = nullptr)
~QModbusTcpClient ()

重實現保護函數

virtual void close () override
virtual bool open () override

額外繼承成員

詳細描述

The QModbusTcpClient class is the interface class for Modbus TCP client device.

QModbusTcpClient communicates with the Modbus backend providing users with a convenient API.

成員函數文檔編製

QModbusTcpClient:: QModbusTcpClient ( QObject * parent = nullptr)

構造 QModbusTcpClient 采用指定 parent .

QModbusTcpClient:: ~QModbusTcpClient ()

銷毀 QModbusTcpClient 實例。

[override virtual protected] void QModbusTcpClient:: close ()

重實現自 QModbusDevice::close ().

[override virtual protected] bool QModbusTcpClient:: open ()

重實現自 QModbusDevice::open ().