summaryrefslogtreecommitdiffstats
path: root/devicedetails.cpp
blob: 4f4d04030bbb80c02ad9b7f64a13d1c7d2e2aacc (plain) (blame)
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
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
#include "devicedetails.h"

DeviceDetails::DeviceDetails(QObject *parent) :
	QObject(parent)
{

}

device_data_t *DeviceDetails::data() const
{
	return m_data;
}

void DeviceDetails::setData(device_data_t *data)
{
	m_data = data;
}

QString DeviceDetails::serialNo() const
{
	return m_serialNo;
}

void DeviceDetails::setSerialNo(const QString &serialNo)
{
	m_serialNo = serialNo;
}

QString DeviceDetails::firmwareVersion() const
{
	return m_firmwareVersion;
}

void DeviceDetails::setFirmwareVersion(const QString &firmwareVersion)
{
	m_firmwareVersion = firmwareVersion;
}

QString DeviceDetails::customText() const
{
	return m_customText;
}

void DeviceDetails::setCustomText(const QString &customText)
{
	m_customText = customText;
}

int DeviceDetails::brightness() const
{
	return m_brightness;
}

void DeviceDetails::setBrightness(int brightness)
{
	m_brightness = brightness;
}

int DeviceDetails::diveModeColor() const
{
	return m_diveModeColor;
}

void DeviceDetails::setDiveModeColor(int diveModeColor)
{
	m_diveModeColor = diveModeColor;
}

int DeviceDetails::language() const
{
	return m_language;
}

void DeviceDetails::setLanguage(int language)
{
	m_language = language;
}

int DeviceDetails::dateFormat() const
{
	return m_dateFormat;
}

void DeviceDetails::setDateFormat(int dateFormat)
{
	m_dateFormat = dateFormat;
}

int DeviceDetails::lastDeco() const
{
	return m_lastDeco;
}

void DeviceDetails::setLastDeco(int lastDeco)
{
	m_lastDeco = lastDeco;
}

bool DeviceDetails::syncTime() const
{
	return m_syncTime;
}

void DeviceDetails::setSyncTime(bool syncTime)
{
	m_syncTime = syncTime;
}

gas DeviceDetails::gas1() const
{
	return m_gas1;
}

void DeviceDetails::setGas1(const gas &gas1)
{
	m_gas1 = gas1;
}

gas DeviceDetails::gas2() const
{
	return m_gas2;
}

void DeviceDetails::setGas2(const gas &gas2)
{
	m_gas2 = gas2;
}

gas DeviceDetails::gas3() const
{
	return m_gas3;
}

void DeviceDetails::setGas3(const gas &gas3)
{
	m_gas3 = gas3;
}

gas DeviceDetails::gas4() const
{
	return m_gas4;
}

void DeviceDetails::setGas4(const gas &gas4)
{
	m_gas4 = gas4;
}

gas DeviceDetails::gas5() const
{
	return m_gas5;
}

void DeviceDetails::setGas5(const gas &gas5)
{
	m_gas5 = gas5;
}

gas DeviceDetails::dil1() const
{
	return m_dil1;
}

void DeviceDetails::setDil1(const gas &dil1)
{
	m_dil1 = dil1;
}

gas DeviceDetails::dil2() const
{
	return m_dil2;
}

void DeviceDetails::setDil2(const gas &dil2)
{
	m_dil2 = dil2;
}

gas DeviceDetails::dil3() const
{
	return m_dil3;
}

void DeviceDetails::setDil3(const gas &dil3)
{
	m_dil3 = dil3;
}

gas DeviceDetails::dil4() const
{
	return m_dil4;
}

void DeviceDetails::setDil4(const gas &dil4)
{
	m_dil4 = dil4;
}

gas DeviceDetails::dil5() const
{
	return m_dil5;
}

void DeviceDetails::setDil5(const gas &dil5)
{
	m_dil5 = dil5;
}

setpoint DeviceDetails::sp1() const
{
	return m_sp1;
}

void DeviceDetails::setSp1(const setpoint &sp1)
{
	m_sp1 = sp1;
}

setpoint DeviceDetails::sp2() const
{
	return m_sp2;
}

void DeviceDetails::setSp2(const setpoint &sp2)
{
	m_sp2 = sp2;
}

setpoint DeviceDetails::sp3() const
{
	return m_sp3;
}

void DeviceDetails::setSp3(const setpoint &sp3)
{
	m_sp3 = sp3;
}

setpoint DeviceDetails::sp4() const
{
	return m_sp4;
}

void DeviceDetails::setSp4(const setpoint &sp4)
{
	m_sp4 = sp4;
}

setpoint DeviceDetails::sp5() const
{
	return m_sp5;
}

void DeviceDetails::setSp5(const setpoint &sp5)
{
	m_sp5 = sp5;
}

int DeviceDetails::ccrMode() const
{
	return m_ccrMode;
}

void DeviceDetails::setCcrMode(int ccrMode)
{
	m_ccrMode = ccrMode;
}

int DeviceDetails::diveMode() const
{
	return m_diveMode;
}

void DeviceDetails::setDiveMode(int diveMode)
{
	m_diveMode = diveMode;
}

int DeviceDetails::decoType() const
{
	return m_decoType;
}

void DeviceDetails::setDecoType(int decoType)
{
	m_decoType = decoType;
}

int DeviceDetails::pp02Max() const
{
	return m_pp02Max;
}

void DeviceDetails::setPp02Max(int pp02Max)
{
	m_pp02Max = pp02Max;
}

int DeviceDetails::pp02Min() const
{
	return m_pp02Min;
}

void DeviceDetails::setPp02Min(int pp02Min)
{
	m_pp02Min = pp02Min;
}

int DeviceDetails::futureTTS() const
{
	return m_futureTTS;
}

void DeviceDetails::setFutureTTS(int futureTTS)
{
	m_futureTTS = futureTTS;
}

int DeviceDetails::gfLow() const
{
	return m_gfLow;
}

void DeviceDetails::setGfLow(int gfLow)
{
	m_gfLow = gfLow;
}

int DeviceDetails::gfHigh() const
{
	return m_gfHigh;
}

void DeviceDetails::setGfHigh(int gfHigh)
{
	m_gfHigh = gfHigh;
}

int DeviceDetails::aGFLow() const
{
	return m_aGFLow;
}

void DeviceDetails::setAGFLow(int aGFLow)
{
	m_aGFLow = aGFLow;
}

int DeviceDetails::aGFHigh() const
{
	return m_aGFHigh;
}

void DeviceDetails::setAGFHigh(int aGFHigh)
{
	m_aGFHigh = aGFHigh;
}

int DeviceDetails::aGFSelectable() const
{
	return m_aGFSelectable;
}

void DeviceDetails::setAGFSelectable(int aGFSelectable)
{
	m_aGFSelectable = aGFSelectable;
}

int DeviceDetails::saturation() const
{
	return m_saturation;
}

void DeviceDetails::setSaturation(int saturation)
{
	m_saturation = saturation;
}

int DeviceDetails::desaturation() const
{
	return m_desaturation;
}

void DeviceDetails::setDesaturation(int desaturation)
{
	m_desaturation = desaturation;
}

int DeviceDetails::units() const
{
	return m_units;
}

void DeviceDetails::setUnits(int units)
{
	m_units = units;
}

int DeviceDetails::samplingRate() const
{
	return m_samplingRate;
}

void DeviceDetails::setSamplingRate(int samplingRate)
{
	m_samplingRate = samplingRate;
}

int DeviceDetails::salinity() const
{
	return m_salinity;
}

void DeviceDetails::setSalinity(int salinity)
{
	m_salinity = salinity;
}

int DeviceDetails::compassGain() const
{
	return m_compassGain;
}

void DeviceDetails::setCompassGain(int compassGain)
{
	m_compassGain = compassGain;
}

int DeviceDetails::pressureSensorOffset() const
{
	return m_pressureSensorOffset;
}

void DeviceDetails::setPressureSensorOffset(int pressureSensorOffset)
{
	m_pressureSensorOffset = pressureSensorOffset;
}