-
Notifications
You must be signed in to change notification settings - Fork 0
/
controlthread.h
65 lines (52 loc) · 1.3 KB
/
controlthread.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
#ifndef CONTROLTHREAD_H
#define CONTROLTHREAD_H
#include <QThread>
#include <QMessageBox>
#include <QString>
#include <QTextCodec>
#include <time.h>
//by Damon 20150725
#include "detailcontrol.h"
#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif
class controlthread : public QThread
{
Q_OBJECT
public:
controlthread(QObject *parent);
~controlthread();
private:
string otherDriverName;
string inputLPnumber;
int getDoorConditionFlag;
int doorTemp;
time_t timeBegin, timeEnd;
protected:
void run();
signals:
void threadtest_signal(const QString s);
//文通刷卡机信息传递
void peopleName_signal(const QString s);
void peopleType_signal(const QString s);
void peopleNo_signal(const QString s);
void peopleShip_signal(const QString s);
//车辆进出信息显示
void carInformatin_signal();
void carInformatin_signal_withPic();
void otherDriverInf_signal();
void snapPeopleImage_signal();
void driverSnapShow_signal();
//车牌信息显示
void LPinformationShow_signal();
private slots:
void peopleIn_slot();
void peopleOut_slot();
void gateUp_slot();
void gateDown_slot();
void otherDriverChange_slot(const QString &otherDriver);
void carInfRequire_slot(const QString LPnumber);
void driverSnap_slot(const int inout);
void getLPinformation_slot();
};
#endif // CONTROLTHREAD_H