-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.h
More file actions
97 lines (82 loc) · 1.5 KB
/
types.h
File metadata and controls
97 lines (82 loc) · 1.5 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#ifndef TYPES_H
#define TYPES_H
#include <QString>
#include <QVector>
#include <QDateTime>
#include <QList>
struct Command {
int id;
QString name;
};
struct ResAnalizeExpectedValue {
double max;
double avg;
};
struct TableSize {
int w;
int h;
};
struct DataAnalize {
int id;
int corner_count_time1;
int corner_count_time2;
QVector<int> goal_time1;
QVector<int> goal_time2;
QVector<int> goal_time3;
QVector<int> y_card_time1;
QVector<int> y_card_time2;
QString place;
QString enemy_name;
QDate date;
};
template <typename T>
struct Vec2T {
T x;
T y;
};
typedef
struct listElemetData {
int id;
QString country;
QString league;
QString command;
int percent;
float avgValue;
float maxValue;
} listElemetData;
enum Criterions {
GOAL_FIRTS_TIME = 1,
GOAL_SECOND_TIME = 2,
GOAL_IN_3_TIMES = 3
};
typedef
struct ResAnalize {
Criterions crt;
QList<listElemetData> lled;
} ResAnalize;
enum ProccesThreadState {
STARTING,
WAITING,
WORKING,
FINISH
};
struct CMDState {
Command cmd;
bool checked;
};
enum TablesFlags {
GOALS = 1,
YELLOW_CARDS = 3,
CORNERS = 4
};
enum ConfigFileParametrs {
Xlsx_path = 1,
DB_path = 2,
};
enum MatchPeriod {
FIRST_TIME = 1,
SECOND_TIME,
AFTER_80MIN,
WHOLE_MATCH,
};
#endif // TYPES_H