mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67d7e959b1 | ||
|
|
08fd5407c3 | ||
|
|
022422b63c | ||
|
|
4618c500c9 | ||
|
|
236030c99a | ||
|
|
c8992b25f6 |
@@ -42,7 +42,12 @@ void Visa::connect(QString ip, quint16 port)
|
|||||||
|
|
||||||
void Visa::disconnect()
|
void Visa::disconnect()
|
||||||
{
|
{
|
||||||
m_tcp_socket->disconnect();
|
m_tcp_socket->disconnectFromHost();
|
||||||
|
}
|
||||||
|
|
||||||
|
void Visa::abort()
|
||||||
|
{
|
||||||
|
m_tcp_socket->abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Visa::connected() const
|
bool Visa::connected() const
|
||||||
|
|||||||
@@ -36,6 +36,11 @@ class Visa : public QObject
|
|||||||
*/
|
*/
|
||||||
void disconnect();
|
void disconnect();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief abort Abort and reset the socket
|
||||||
|
*/
|
||||||
|
void abort();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Check if the VISA device is connected
|
* @brief Check if the VISA device is connected
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user