-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathDut.h
More file actions
37 lines (32 loc) · 738 Bytes
/
Dut.h
File metadata and controls
37 lines (32 loc) · 738 Bytes
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
#pragma once
#include <QVariant>
enum DutState {inactive, untested, tested, warning};
using Dut = QMap<QString, QVariant>;
static Dut dutTemplate {
{"state", DutState::inactive},
{"id", ""},
{"no", 0},
{"railtestDownloaded", false},
{"checked", false},
{"voltageChecked", false},
{"accelChecked", false},
{"lightSensChecked", false},
{"daliChecked", false},
{"radioChecked", false},
{"gnssChecked", false},
{"rtcChecked", false},
{"error", ""}
};
struct DutRecord
{
QString runningNumber;
QString id;
QString no;
QString cycleNo;
QString method;
QString batchNumber;
QString timeStamp;
QString operatorName;
QString state;
QString error;
};