-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwizdata.h
67 lines (57 loc) · 1.43 KB
/
wizdata.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
#ifndef WIZDATA_H
#define WIZDATA_H
#include <QDebug>
#include <QFile>
#include <QTime>
#include <QDate>
#include <sstream>
#include <QObject>
#define SINGLEAXLE "singleaxle"
#define TANDEMAXLE "tandem2axle"
#define TRIPLEAXLE "tripleaxle"
#define COMBOTRUCK "combotruck"
#define SEMITRAILER "semitrailer"
class WizData : public QObject
{
Q_OBJECT
public:
explicit WizData(QObject *parent = 0);
void debugDataFields();
void writeStream();
void readStream();
int singleAxleArrived();
int tandemAxleArrived();
int tripleAxleArrived();
int comboTruckArrived();
int semiTrailerArrived();
int getSingleAxleTotal();
int getTandemAxleTotal();
int getTripleAxleTotal();
int getComboTruckTotal();
int getSemiTrailerTotal();
QString logFileName;
//Log file name: "snowLoadCountLog022920122013"
QString shiftStartTime;
//Shift Start Time: "0229"
QString shiftEndTime;
//Shift End Time: "1029"
QString shiftStartDate;
//Shift Start Date: "20122013"
QString guardName;
//Guard Name: "a"
QString guardLicenseNumber;
//Guard License#: "b"
QString shiftComment;
//Shift Comment: "c"
QString countLocation;
//Location: "Clyde"
QString countForItemType;
//Counting totals for: "tickets"
QMap<QString, QString> truckTypeTotalMap;
signals:
public slots:
private:
QString dateOfArrival;
std::stringstream ss;
};
#endif // WIZDATA_H