-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhead.h
74 lines (63 loc) · 1.25 KB
/
head.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#ifndef __HEAD_H_
#define __HEAD_H_
#include <QtCore>
#include <QtGui>
#include <QtNetwork>
#include <qDebug>
#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0))
#include <QtWidgets>
#endif
#if (QT_VERSION >= QT_VERSION_CHECK(6,0,0))
#include <QtCore5Compat>
#endif
#include "hardcmd.h"
#include "harddef.h"
#include "hardselutedef.h"
//#pragma execution_character_set("utf-8")
#define TIMEMS qPrintable(QTime::currentTime().toString("HH:mm:ss zzz"))
#define STRDATETIME qPrintable(QDateTime::currentDateTime().toString("yyyy-MM-dd-HH-mm-ss"))
typedef struct
{
int32_t x;
int32_t y;
int32_t z;
}ST_POS;
typedef struct
{
int32_t x;
int32_t y;
int32_t z;
volatile uint64_t tick;
}ST_POS_T;
typedef struct
{
int32_t xMin;
int32_t xMax;
int32_t yMin;
int32_t yMax;
int32_t zMin;
int32_t zMax;
}ST_BORDER_POS;
typedef struct
{
uint8_t x;
uint8_t y;
uint8_t z;
}ST_IS_MOVE;
typedef struct
{
emTskDXYZType taskType;
emWorkStatus taskStatus;
emSeluteDMoveXYZ taskSelute;
ST_POS aimPos;
uint32_t useTime;
ST_POS curPos;
uint64_t rdTick;
ST_BORDER_POS xyzBorder;
ST_IS_MOVE isMove;
uint16_t pointID;
uint8_t yInOut;
uint8_t zUpDown;
ST_POS startPos;
}ST_XYZ_INFO;
#endif