mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
Compare commits
2
Commits
51831efdfa
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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