forked from Blackfrosch/VAGEDCSuite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ScannedFile.cs
201 lines (160 loc) · 4.5 KB
/
ScannedFile.cs
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace VAGSuite
{
class ScannedFile
{
string _filename = string.Empty;
public string Filename
{
get { return _filename; }
set { _filename = value; }
}
int _filesize = 0;
public int Filesize
{
get { return _filesize; }
set { _filesize = value; }
}
EDCFileType _filetype = EDCFileType.Unknown;
public EDCFileType Filetype
{
get { return _filetype; }
set { _filetype = value; }
}
private int _hp = 0;
public int HP
{
get { return _hp; }
set { _hp = value; }
}
private int _tq = 0;
public int TQ
{
get { return _tq; }
set { _tq = value; }
}
private int _realhp = 0;
public int RealHP
{
get { return _realhp; }
set { _realhp = value; }
}
private int _realtq = 0;
public int RealTQ
{
get { return _realtq; }
set { _realtq = value; }
}
private string _fuelType = string.Empty;
public string FuelType
{
get { return _fuelType; }
set { _fuelType = value; }
}
private string _carMake = string.Empty;
public string CarMake
{
get { return _carMake; }
set { _carMake = value; }
}
private string _carType = string.Empty;
public string CarType
{
get { return _carType; }
set { _carType = value; }
}
private string _engineType = string.Empty;
public string EngineType
{
get { return _engineType; }
set { _engineType = value; }
}
private string _ecuType = string.Empty;
public string EcuType
{
get { return _ecuType; }
set { _ecuType = value; }
}
private string _partNumber = string.Empty;
public string PartNumber
{
get { return _partNumber; }
set { _partNumber = value; }
}
private string _softwareID = string.Empty;
public string SoftwareID
{
get { return _softwareID; }
set { _softwareID = value; }
}
private string _fuellingType = string.Empty;
public string FuellingType
{
get { return _fuellingType; }
set { _fuellingType = value; }
}
string _checksumType = string.Empty;
public string ChecksumType
{
get { return _checksumType; }
set { _checksumType = value; }
}
string _checksumResult = string.Empty;
public string ChecksumResult
{
get { return _checksumResult; }
set { _checksumResult = value; }
}
private int _numberChecksums = 0;
public int NumberChecksums
{
get { return _numberChecksums; }
set { _numberChecksums = value; }
}
private int _numberChecksumsFail = 0;
public int NumberChecksumsFail
{
get { return _numberChecksumsFail; }
set { _numberChecksumsFail = value; }
}
private int _numberChecksumsOk = 0;
public int NumberChecksumsOk
{
get { return _numberChecksumsOk; }
set { _numberChecksumsOk = value; }
}
private int _numberMapsDetected = 0;
public int NumberMapsDetected
{
get { return _numberMapsDetected; }
set { _numberMapsDetected = value; }
}
private int _numberMapsRecognized = 0;
public int NumberMapsRecognized
{
get { return _numberMapsRecognized; }
set { _numberMapsRecognized = value; }
}
private bool _mapsOk = false;
public bool MapsOk
{
get { return _mapsOk; }
set { _mapsOk = value; }
}
private string _messages = string.Empty;
public string Messages
{
get { return _messages; }
set { _messages = value; }
}
/*ECUInfo _ecuinfo = new ECUInfo();
internal ECUInfo Ecuinfo
{
get { return _ecuinfo; }
set { _ecuinfo = value; }
}*/
}
}