-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
364 lines (356 loc) · 15.1 KB
/
index.html
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'"/>
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'"/>
<link rel="stylesheet" href="./vendor/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="./styles.css">
<title>EEC IV Reader GUI</title>
</head>
<body>
<div class="container-fluid main-container">
<div class="row control-container">
<div class="col">
<button id="serialconnect" class="btn btn-primary">Connect</button>
<button id="serialdisconnect" class="btn btn-primary" disabled>Disconnect</button>
</div>
</div>
<div class="row border data-container overflow-auto" id="init-data-container">
<div class="col">
<div id="init-data-container-message" class="text-center">
Please connect EEC-IV Reader and click the Connect Button.
</div>
</div>
</div>
<div class="row border data-container overflow-auto" id="fault-code-data-container">
<div class="col">
<h3>
Fault Codes
</h3>
<table class="table table-sm fault-code-table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Code</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td id="fault-code-1"></td>
<td id="fault-code-desc-1"></td>
</tr>
<tr>
<th scope="row">2</th>
<td id="fault-code-2"></td>
<td id="fault-code-desc-2"></td>
</tr>
<tr>
<th scope="row">3</th>
<td id="fault-code-3"></td>
<td id="fault-code-desc-3"></td>
</tr>
<tr>
<th scope="row">4</th>
<td id="fault-code-4"></td>
<td id="fault-code-desc-4"></td>
</tr>
<tr>
<th scope="row">5</th>
<td id="fault-code-5"></td>
<td id="fault-code-desc-5"></td>
</tr>
<tr>
<th scope="row">6</th>
<td id="fault-code-6"></td>
<td id="fault-code-desc-6"></td>
</tr>
<tr>
<th scope="row">7</th>
<td id="fault-code-7"></td>
<td id="fault-code-desc-7"></td>
</tr>
<tr>
<th scope="row">8</th>
<td id="fault-code-8"></td>
<td id="fault-code-desc-8"></td>
</tr>
<tr>
<th scope="row">9</th>
<td id="fault-code-9"></td>
<td id="fault-code-desc-9"></td>
</tr>
<tr>
<th scope="row">10</th>
<td id="fault-code-10"></td>
<td id="fault-code-desc-10"></td>
</tr>
<tr>
<th scope="row">11</th>
<td id="fault-code-11"></td>
<td id="fault-code-desc-11"></td>
</tr>
<tr>
<th scope="row">12</th>
<td id="fault-code-12"></td>
<td id="fault-code-desc-12"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="row border data-container overflow-auto" id="live-data-container">
<div class="col">
<h3>
Live Data <span id="live-data-dot" class="dot"></span>
</h3>
<button id="download" class="btn btn-secondary">Export</button>
<div class="container-fluid live-data-container">
<div class="row row-cols-xl-4 row-cols-md-2 row-cols-1">
<div class="col border-bottom">
<div class="data-type">RPM</div>
<div class="data-value" id="data-rpm">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Throttle Position</div>
<div class="data-value" id="data-throttle">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Throttle Mode</div>
<div class="data-value" id="data-throttle-mode">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Supply Voltage</div>
<div class="data-value" id="data-supply-voltage">-</div>
</div>
</div>
<div class="row row-cols-xl-4 row-cols-md-2 row-cols-1">
<div class="col border-bottom">
<div class="data-type">Coolant Temperature</div>
<div class="data-value" id="data-coolant-temp">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Coolant Sensor</div>
<div class="data-value" id="data-coolant-temp-sensor">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Intake Air Temperature</div>
<div class="data-value" id="data-air-temp">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Intake Air Sensor</div>
<div class="data-value" id="data-air-temp-sensor">-</div>
</div>
</div>
<div class="row row-cols-xl-4 row-cols-md-2 row-cols-1">
<div class="col border-bottom">
<div class="data-type">EGR Diff. Pressure</div>
<div class="data-value" id="data-egr">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">EGR Duty Cycle</div>
<div class="data-value" id="data-egr-duty-cycle">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Lambda 1</div>
<div class="data-value" id="data-lambda-1">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Lambda 2</div>
<div class="data-value" id="data-lambda-2">-</div>
</div>
</div>
<div class="row row-cols-xl-4 row-cols-md-2 row-cols-1">
<div class="col border-bottom">
<div class="data-type">EGO</div>
<div class="data-value" id="data-ego">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Fuel Pulsewidth</div>
<div class="data-value" id="data-fuel-pulsewidth">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Ignition Timing</div>
<div class="data-value" id="data-ignition-timing">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Speed</div>
<div class="data-value" id="data-speed">-</div>
</div>
</div>
<div class="row row-cols-xl-4 row-cols-md-2 row-cols-1">
<div class="col border-bottom">
<div class="data-type">Normalized Air Charge</div>
<div class="data-value" id="data-air-charge">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Speed unfiltered</div>
<div class="data-value" id="data-speed-unfiltered">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Barometric Pressure</div>
<div class="data-value" id="data-bp">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Mass Air Pressure</div>
<div class="data-value" id="data-map">-</div>
</div>
</div>
<div class="row row-cols-xl-4 row-cols-md-2 row-cols-1">
<div class="col border-bottom">
<div class="data-type">Calibration Voltage</div>
<div class="data-value" id="data-calibration-voltage">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Transmission Oil Temp.</div>
<div class="data-value" id="data-transmission-oil-temperature">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Idle Speed Duty Cycle</div>
<div class="data-value" id="data-idle-speed">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">SCAP Sensore Freq.</div>
<div class="data-value" id="data-scap">-</div>
</div>
</div>
<div class="row row-cols-xl-4 row-cols-md-2 row-cols-1">
<div class="col border-bottom">
<div class="data-type">Adaptive Fuel Corr.</div>
<div class="data-value" id="data-adaptive-fuel-correction">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Desired RPM</div>
<div class="data-value" id="data-desired-rpm">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Lowest Throttle Pos.</div>
<div class="data-value" id="data-ratch">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Time since Startup</div>
<div class="data-value" id="data-time-since-startup">-</div>
</div>
</div>
<div class="row row-cols-xl-4 row-cols-md-2 row-cols-1">
<div class="col border-bottom">
<div class="data-type">OCC Input Level</div>
<div class="data-value" id="data-occ">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Neutral/Drive Input</div>
<div class="data-value" id="data-neutral-drive-input">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Converter Clutch</div>
<div class="data-value" id="data-converter-clutch">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Command Gear</div>
<div class="data-value" id="data-command-gear">-</div>
</div>
</div>
<div class="row row-cols-xl-4 row-cols-md-2 row-cols-1">
<div class="col border-bottom">
<div class="data-type">ETV Monitor Voltage</div>
<div class="data-value" id="data-etv-monitor-voltage">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">EPC Pressure</div>
<div class="data-value" id="data-epc-pressure">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">PRNDL Position</div>
<div class="data-value" id="data-prndl-position">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Air Flow Meter</div>
<div class="data-value" id="data-air-flow-meter">-</div>
</div>
</div>
<div class="row">
<div class="col border-bottom">
<div class="data-type">Bitmap 0</div>
<div class="data-value" id="data-bitmap-0">-</div>
</div>
</div>
<div class="row">
<div class="col border-bottom">
<div class="data-type">Bitmap 1</div>
<div class="data-value" id="data-bitmap-1">-</div>
</div>
</div>
<div class="row row-cols-xl-4 row-cols-md-2 row-cols-1">
<div class="col border-bottom">
<div class="data-type">Unknown (0x0A)</div>
<div class="data-value" id="data-not-used-0A">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Unknown (0x14)</div>
<div class="data-value" id="data-not-used-14">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Unknown (0x16)</div>
<div class="data-value" id="data-not-used-16">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Unknown (0x19)</div>
<div class="data-value" id="data-not-used-19">-</div>
</div>
</div>
<div class="row row-cols-xl-4 row-cols-md-2 row-cols-1">
<div class="col border-bottom">
<div class="data-type">Unknown (0x1C)</div>
<div class="data-value" id="data-not-used-1C">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Unknown (0x1D)</div>
<div class="data-value" id="data-not-used-1D">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Unknown (0x29)</div>
<div class="data-value" id="data-not-used-29">-</div>
</div>
<div class="col border-bottom">
<div class="data-type">Unknown (0x31)</div>
<div class="data-value" id="data-not-used-31">-</div>
</div>
</div>
<div class="row row-cols-xl-4 row-cols-md-2 row-cols-1">
<div class="col col-xl-3 col-md-6 border-bottom">
<div class="data-type">Unknown (0x33)</div>
<div class="data-value" id="data-not-used-33">-</div>
</div>
<div class="col col-xl-9 col-md-6 border-bottom">
<div class="data-type">Unknown (0x34)</div>
<div class="data-value" id="data-not-used-34">-</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div id="col-version" class="col">
<span id="version">0.0.0</span>
</div>
</div>
</div>
<div id="spinner-overlay">
<div class="h-100 d-flex justify-content-center align-items-center">
<div class="spinner-border" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
</div>
<div class="alert alert-primary alert-dismissible hidden" role="alert" id="alert">
Welcome!
</div>
</body>
<script src="./lib/eec-iv.js"></script>
<script src="./lib/serial.js"></script>
<script src="./lib/alert.js"></script>
<script src="./lib/export.js"></script>
<script src="./renderer.js"></script>
</html>