forked from donaloconnor/automon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdtc.h
48 lines (39 loc) · 2.04 KB
/
dtc.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
#ifndef DTC_H
#define DTC_H
/*
==================================================================================================
| dtc.h |
| Part of the Automon application. |
| |
| Final Year Project - "An Embedded Automotive Monitoring Device" |
| |
| By Donal O' Connor for completion of B.Sc (Hons) Software Development and Computer Networking |
| Email: [email protected] |
| Website/Blog: http://automon.killarneyonline.eu |
| |
| Cork Institute of Technology, Cork, Ireland - http://www.cit.ie/ |
| |
| Copyright © 2009 Donal O'Connor <[email protected]> |
==================================================================================================
This is a class defintion for the DTC object. It holds the code, english meaning and potential solution
if present.
*/
#include <QString>
namespace AutomonKernel
{
class DTC
{
public:
enum CODETYPE { POWERTRAIN, CHASSIS, BODY, NETWORK };
DTC(QString code, QString englishMeaning, QString potentialSolution);
QString getCode();
QString getEnglishMeaning();
QString getPotentialSolution();
private:
QString m_code;
QString m_englishMeaning;
QString m_potentialSolution;
CODETYPE m_codeType;
};
}
#endif // DTC_H