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.
29 lines
436 B
C
29 lines
436 B
C
|
6 hours ago
|
#pragma once
|
||
|
|
|
||
|
|
#include <QObject>
|
||
|
|
#include <string>
|
||
|
|
#include <QObject>
|
||
|
|
#include <QTcpSocket>
|
||
|
|
#include <QString>
|
||
|
|
|
||
|
|
class _declspec(dllexport) CleanMachineExportManage
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
enum CommandType {
|
||
|
|
COMMON_START_CLEAN = 0,
|
||
|
|
};
|
||
|
|
|
||
|
|
public:
|
||
|
|
CleanMachineExportManage();
|
||
|
|
~CleanMachineExportManage();
|
||
|
|
|
||
|
|
public:
|
||
|
|
void InitCleanMachine(QString ip, int port);
|
||
|
|
|
||
|
|
bool ExecuteCommand(CommandType commandType);
|
||
|
|
|
||
|
|
private:
|
||
|
|
QString m_ip;
|
||
|
|
int m_port;
|
||
|
|
};
|