You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
390 B
C
30 lines
390 B
C
|
6 hours ago
|
#pragma once
|
||
|
|
|
||
|
|
#include <string>
|
||
|
|
#include <QObject>
|
||
|
|
#include <QTcpSocket>
|
||
|
|
|
||
|
|
class _declspec(dllexport) GaZManageExport
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
GaZManageExport();
|
||
|
|
~GaZManageExport();
|
||
|
|
|
||
|
|
public:
|
||
|
|
bool InitGaz(QString ip, int port);
|
||
|
|
|
||
|
|
bool MoveToPreparePos();
|
||
|
|
|
||
|
|
bool DOAlign();
|
||
|
|
|
||
|
|
private:
|
||
|
|
bool ExecuteCommand(QString commandStr);
|
||
|
|
|
||
|
|
private:
|
||
|
|
QString m_ip;
|
||
|
|
int m_port;
|
||
|
|
|
||
|
|
QTcpSocket *m_gazSocket = nullptr;
|
||
|
|
};
|
||
|
|
|