forked from cagnulein/qdomyos-zwift
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathqzsettings.h
More file actions
3013 lines (2177 loc) · 115 KB
/
Copy pathqzsettings.h
File metadata and controls
3013 lines (2177 loc) · 115 KB
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
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#ifndef QZSETTINGS_H
#define QZSETTINGS_H
#include <QString>
#include "fit-sdk/fit_profile.hpp"
class QZSettings {
private:
QZSettings() {}
public:
//--------------------------------------------------------------------------------------------
// These are not in settings.qml
//--------------------------------------------------------------------------------------------
static const QString cryptoKeySettingsProfiles;
static constexpr int default_cryptoKeySettingsProfiles = 0;
/**
*@brief Disable (true) reconnection when the device disconnects from Bluetooth.
*/
static const QString bluetooth_no_reconnection;
static constexpr bool default_bluetooth_no_reconnection = false;
/**
*@brief Choose between wheel revolutions (true) and wheel and crank revolutions (false)
*when configuring the CSC feature BLE characteristic.
*/
static const QString bike_wheel_revs;
static constexpr bool default_bike_wheel_revs = false;
static const QString bluetooth_lastdevice_name;
static const QString default_bluetooth_lastdevice_name;
static const QString bluetooth_lastdevice_address;
static const QString default_bluetooth_lastdevice_address;
static const QString hrm_lastdevice_name;
static const QString default_hrm_lastdevice_name;
static const QString hrm_lastdevice_address;
static const QString default_hrm_lastdevice_address;
static const QString ftms_accessory_address;
static const QString default_ftms_accessory_address;
static const QString ftms_accessory_lastdevice_name;
static const QString default_ftms_accessory_lastdevice_name;
static const QString csc_sensor_address;
static const QString default_csc_sensor_address;
static const QString csc_sensor_lastdevice_name;
static const QString default_csc_sensor_lastdevice_name;
static const QString power_sensor_lastdevice_name;
static const QString default_power_sensor_lastdevice_name;
static const QString power_sensor_address;
static const QString default_power_sensor_address;
static const QString elite_rizer_lastdevice_name;
static const QString default_elite_rizer_lastdevice_name;
static const QString elite_rizer_address;
static const QString default_elite_rizer_address;
static const QString elite_sterzo_smart_lastdevice_name;
static const QString default_elite_sterzo_smart_lastdevice_name;
static const QString elite_sterzo_smart_address;
static const QString default_elite_sterzo_smart_address;
static const QString strava_accesstoken;
static const QString default_strava_accesstoken;
static const QString strava_refreshtoken;
static const QString default_strava_refreshtoken;
static const QString strava_lastrefresh;
static const QString default_strava_lastrefresh;
static const QString strava_expires;
static const QString default_strava_expires;
static const QString garmin_email;
static const QString default_garmin_email;
static const QString garmin_password;
static const QString default_garmin_password;
static const QString garmin_upload_enabled;
static constexpr bool default_garmin_upload_enabled = false;
static const QString garmin_access_token;
static const QString default_garmin_access_token;
static const QString garmin_refresh_token;
static const QString default_garmin_refresh_token;
static const QString garmin_token_type;
static const QString default_garmin_token_type;
static const QString garmin_expires_at;
static constexpr qint64 default_garmin_expires_at = 0;
static const QString garmin_refresh_token_expires_at;
static constexpr qint64 default_garmin_refresh_token_expires_at = 0;
static const QString garmin_oauth1_token;
static const QString default_garmin_oauth1_token;
static const QString garmin_oauth1_token_secret;
static const QString default_garmin_oauth1_token_secret;
static const QString garmin_domain;
static const QString default_garmin_domain;
static const QString garmin_last_refresh;
static const QString default_garmin_last_refresh;
static const QString intervalsicu_accesstoken;
static const QString default_intervalsicu_accesstoken;
static const QString intervalsicu_refreshtoken;
static const QString default_intervalsicu_refreshtoken;
static const QString intervalsicu_athlete_id;
static const QString default_intervalsicu_athlete_id;
static const QString code;
static const QString default_code;
//--------------------------------------------------------------------------------------------
/**
*@brief Zoom percentage for the user interface.
*/
static const QString ui_zoom;
static constexpr float default_ui_zoom = 100.0;
/**
*@brief Disable (true) or use (false) the device's heart rate service.
*/
static const QString bike_heartrate_service;
static constexpr bool default_bike_heartrate_service = false;
/**
*@brief An offset that can be applied to the resistance from the device.
* calculated_resistance = raw_resistance * bike_resistance_gain_f + bike_resistance_offset
*/
static const QString bike_resistance_offset;
static constexpr int default_bike_resistance_offset = 4;
/**
*@brief A gain that can be applied to the resistance from the device.
* calculated_resistance = raw_resistance * bike_resistance_gain_f + bike_resistance_offset
*/
static const QString bike_resistance_gain_f;
static constexpr float default_bike_resistance_gain_f = 1.0;
/**
*@brief Used to specify of QZ is using Zwift in ERG (workout) Mode.
* When supporting this, QZ should communicate the target resistance
* (or automatically adjust the device's resistance if it has this capability) to match the target
* watts based on the cadence (RPM). In ERG Mode, the changes in inclination should not affect target resistance,
* as is the case in Simulation Mode. Default is false.
*
*/
static const QString zwift_erg;
static constexpr bool default_zwift_erg = false;
/**
*@brief In ERG Mode, Zwift sends a “target output” request. If the output requested doesn’t match the current
*output (calculated using cadence and resistance level), the target resistance should change to help the user get
*closer to the target output. If the filter is set to higher values, there should be less adjustment of the target
*resistance and cadence would need to be increased to match the target output. The zwift_erg_filter and
*zwift_erg_filter_down settings are the upper and lower margin before the adjustment of resistance is communicated.
*Example: if the zwift_erg_filter and zwift_erg_filter_down filters are set to 10 and the target output is 100
*watts, a change of resistance will only be communicated if the device produces less than 90 Watts or more than 110
*Watts.
*/
static const QString zwift_erg_filter;
static constexpr float default_zwift_erg_filter = 10.0;
/**
*@brief In ERG Mode, Zwift sends a “target output” request. If the output requested doesn’t match the current
*output (calculated using cadence and resistance level), the target resistance should change to help the user get
*closer to the target output. If the filter is set to higher values, there should be less adjustment of the target
*resistance and cadence would need to be increased to match the target output. The zwift_erg_filter and
*zwift_erg_filter_down settings are the upper and lower margin before the adjustment of resistance is communicated.
*Example: if the zwift_erg_filter and zwift_erg_filter_down filters are set to 10 and the target output is 100
*watts, a change of resistance will only be communicated if the device produces less than 90 Watts or more than 110
*Watts.
*/
static const QString zwift_erg_filter_down;
static constexpr float default_zwift_erg_filter_down = 10.0;
/**
*@brief Used to invoke a workaround whereby negative inclination is multiplied by 2.
*/
static const QString zwift_negative_inclination_x2;
static constexpr bool default_zwift_negative_inclination_x2 = false;
/**
*@brief An offset that will be applied to the inclination received from the client application.
* calculated_inclination = raw_inclination * zwift_inclination_gain + zwift_inclination_offset
*/
static const QString zwift_inclination_offset;
static constexpr float default_zwift_inclination_offset = 0;
/**
*@brief A gain that will be applied to the inclination received from the client application.
* calculated_inclination = raw_inclination * zwift_inclination_gain + zwift_inclination_offset
*/
static const QString zwift_inclination_gain;
static constexpr float default_zwift_inclination_gain = 1.0;
static const QString echelon_resistance_offset;
static constexpr float default_echelon_resistance_offset = 0;
static const QString echelon_resistance_gain;
static constexpr float default_echelon_resistance_gain = 1.0;
/**
*@brief Used for some devices to specify that speed should be calculated from power.
*/
static const QString speed_power_based;
static constexpr bool default_speed_power_based = false;
/**
*@brief The resistance to be set when a bike or elliptical trainer first connects.
*/
static const QString bike_resistance_start;
static constexpr int default_bike_resistance_start = 1;
/**
*@brief The age of the user in years.
*/
static const QString age;
static constexpr int default_age = 35.0;
/**
*@brief The mass of the user in kilograms. Used for power calculations.
*/
static const QString weight;
static constexpr float default_weight = 75.0;
/**
*@brief The user's Functional Threshold Power in watts per kilogram. This is a measure of the best average power
*output the user could sustain for 1 hour in a time-trial scenario.
*/
static const QString ftp;
static constexpr float default_ftp = 200.0;
/**
*@brief Email address of the user.
*/
static const QString user_email;
/**
* @brief Default email address of user. Empty Latin1 string.
* This is a Latin1 string because of where it could be used.
*/
static const QString default_user_email;
static const QString user_nickname;
static const QString default_user_nickname;
/**
*@brief Specifies whether or not to use miles (false) or kilometers (true) as the unit of distance.
*/
static const QString miles_unit;
static constexpr bool default_miles_unit = false;
/**
*@brief Use kg for weight even when miles_unit is true (for UK users).
*/
static const QString weight_kg_unit;
static constexpr bool default_weight_kg_unit = false;
static const QString pause_on_start;
static constexpr bool default_pause_on_start = false;
/**
*@brief value for peloton trainrow.forcespeed.
*/
static const QString treadmill_force_speed;
static constexpr bool default_treadmill_force_speed = false;
static const QString pause_on_start_treadmill;
static constexpr bool default_pause_on_start_treadmill = false;
/**
*@brief Flag to indicate if it should be ignored (true) that the user has stopped doing work.
*/
static const QString continuous_moving;
static constexpr bool default_continuous_moving = false;
static const QString bike_cadence_sensor;
static constexpr bool default_bike_cadence_sensor = false;
static const QString run_cadence_sensor;
static constexpr bool default_run_cadence_sensor = false;
static const QString rogue_echo_bike;
static constexpr bool default_rogue_echo_bike = false;
static const QString bike_power_sensor;
static constexpr bool default_bike_power_sensor = false;
static const QString bike_power_offset;
static constexpr int default_bike_power_offset = 0;
static const QString heart_rate_belt_name;
static const QString default_heart_rate_belt_name;
/**
*@brief Used to ignore the heart rate from some devices.
*/
static const QString heart_ignore_builtin;
static constexpr bool default_heart_ignore_builtin = false;
/**
* @brief Used to ignore an energy reading from some devices.
*/
static const QString kcal_ignore_builtin;
static constexpr bool default_kcal_ignore_builtin = false;
static const QString ant_cadence;
static constexpr bool default_ant_cadence = false;
static const QString ant_heart;
static constexpr bool default_ant_heart = false;
static const QString ant_garmin;
static constexpr bool default_ant_garmin = false;
static const QString top_bar_enabled;
static constexpr bool default_top_bar_enabled = true;
/**
*@brief The username for logging in to Peloton.
*/
static const QString peloton_username;
static const QString default_peloton_username;
/**
*@brief The password for logging in to Peloton.
*/
static const QString peloton_password;
static const QString default_peloton_password;
static const QString peloton_difficulty;
static const QString default_peloton_difficulty;
static const QString peloton_cadence_metric;
static const QString default_peloton_cadence_metric;
static const QString peloton_heartrate_metric;
static const QString default_peloton_heartrate_metric;
static const QString peloton_date;
static const QString default_peloton_date;
static const QString peloton_description_link;
static constexpr bool default_peloton_description_link = true;
static const QString pzp_username;
static const QString default_pzp_username;
static const QString pzp_password;
static const QString default_pzp_password;
static const QString tile_speed_enabled;
static constexpr bool default_tile_speed_enabled = true;
static const QString tile_speed_order;
static constexpr int default_tile_speed_order = 0;
static const QString tile_inclination_enabled;
static constexpr bool default_tile_inclination_enabled = true;
static const QString tile_inclination_order;
static constexpr int default_tile_inclination_order = 1;
static const QString tile_cadence_enabled;
static constexpr bool default_tile_cadence_enabled = true;
static const QString tile_cadence_order;
static constexpr int default_tile_cadence_order = 2;
static const QString tile_elevation_enabled;
static constexpr bool default_tile_elevation_enabled = true;
static const QString tile_elevation_order;
static constexpr int default_tile_elevation_order = 3;
static const QString tile_calories_enabled;
static constexpr bool default_tile_calories_enabled = true;
static const QString tile_calories_order;
static constexpr int default_tile_calories_order = 4;
static const QString tile_odometer_enabled;
static constexpr bool default_tile_odometer_enabled = true;
static const QString tile_odometer_order;
static constexpr int default_tile_odometer_order = 5;
static const QString tile_pace_enabled;
static constexpr bool default_tile_pace_enabled = true;
static const QString tile_pace_order;
static constexpr int default_tile_pace_order = 6;
static const QString tile_avg_pace_enabled;
static constexpr bool default_tile_avg_pace_enabled = false;
static const QString tile_avg_pace_order;
static constexpr int default_tile_avg_pace_order = 76;
static const QString tile_grade_adjusted_pace_enabled;
static constexpr bool default_tile_grade_adjusted_pace_enabled = false;
static const QString tile_grade_adjusted_pace_order;
static constexpr int default_tile_grade_adjusted_pace_order = 79;
static const QString tile_resistance_enabled;
static constexpr bool default_tile_resistance_enabled = true;
static const QString tile_resistance_order;
static constexpr int default_tile_resistance_order = 7;
static const QString tile_watt_enabled;
static constexpr bool default_tile_watt_enabled = true;
static const QString tile_watt_order;
static constexpr int default_tile_watt_order = 8;
static const QString tile_weight_loss_enabled;
static constexpr bool default_tile_weight_loss_enabled = false;
static const QString tile_weight_loss_order;
static constexpr int default_tile_weight_loss_order = 24;
static const QString tile_avgwatt_enabled;
static constexpr bool default_tile_avgwatt_enabled = true;
static const QString tile_avgwatt_order;
static constexpr int default_tile_avgwatt_order = 9;
static const QString tile_ftp_enabled;
static constexpr bool default_tile_ftp_enabled = true;
static const QString tile_ftp_order;
static constexpr int default_tile_ftp_order = 10;
static const QString tile_heart_enabled;
static constexpr bool default_tile_heart_enabled = true;
static const QString tile_heart_order;
static constexpr int default_tile_heart_order = 11;
static const QString tile_heart_show_as_percent;
static constexpr bool default_tile_heart_show_as_percent = false;
static const QString tile_fan_enabled;
static constexpr bool default_tile_fan_enabled = true;
static const QString tile_fan_order;
static constexpr int default_tile_fan_order = 12;
static const QString tile_jouls_enabled;
static constexpr bool default_tile_jouls_enabled = true;
static const QString tile_jouls_order;
static constexpr int default_tile_jouls_order = 13;
static const QString tile_elapsed_enabled;
static constexpr bool default_tile_elapsed_enabled = true;
static const QString tile_elapsed_order;
static constexpr int default_tile_elapsed_order = 14;
static const QString tile_lapelapsed_enabled;
static constexpr bool default_tile_lapelapsed_enabled = false;
static const QString tile_lapelapsed_order;
static constexpr int default_tile_lapelapsed_order = 17;
static const QString tile_moving_time_enabled;
static constexpr bool default_tile_moving_time_enabled = false;
static const QString tile_moving_time_order;
static constexpr int default_tile_moving_time_order = 21;
static const QString tile_peloton_offset_enabled;
static constexpr bool default_tile_peloton_offset_enabled = false;
static const QString tile_peloton_offset_order;
static constexpr int default_tile_peloton_offset_order = 22;
static const QString tile_peloton_difficulty_enabled;
static constexpr bool default_tile_peloton_difficulty_enabled = false;
static const QString tile_peloton_difficulty_order;
static constexpr int default_tile_peloton_difficulty_order = 32;
static const QString tile_peloton_resistance_enabled;
static constexpr bool default_tile_peloton_resistance_enabled = true;
static const QString tile_peloton_resistance_order;
static constexpr int default_tile_peloton_resistance_order = 15;
static const QString tile_datetime_enabled;
static constexpr bool default_tile_datetime_enabled = true;
static const QString tile_datetime_order;
static constexpr int default_tile_datetime_order = 16;
static const QString tile_target_resistance_enabled;
static constexpr bool default_tile_target_resistance_enabled = true;
static const QString tile_target_resistance_order;
static constexpr int default_tile_target_resistance_order = 15;
static const QString tile_target_peloton_resistance_enabled;
static constexpr bool default_tile_target_peloton_resistance_enabled = false;
static const QString tile_target_peloton_resistance_order;
static constexpr int default_tile_target_peloton_resistance_order = 21;
static const QString tile_target_cadence_enabled;
static constexpr bool default_tile_target_cadence_enabled = false;
static const QString tile_target_cadence_order;
static constexpr int default_tile_target_cadence_order = 19;
static const QString tile_target_power_enabled;
static constexpr bool default_tile_target_power_enabled = false;
static const QString tile_target_power_order;
static constexpr int default_tile_target_power_order = 20;
static const QString tile_target_zone_enabled;
static constexpr bool default_tile_target_zone_enabled = false;
static const QString tile_target_zone_order;
static constexpr int default_tile_target_zone_order = 24;
static const QString tile_target_speed_enabled;
static constexpr bool default_tile_target_speed_enabled = false;
static const QString tile_target_speed_order;
static constexpr int default_tile_target_speed_order = 27;
static const QString tile_target_incline_enabled;
static constexpr bool default_tile_target_incline_enabled = false;
static const QString tile_target_incline_order;
static constexpr int default_tile_target_incline_order = 28;
static const QString tile_strokes_count_enabled;
static constexpr bool default_tile_strokes_count_enabled = false;
static const QString tile_strokes_count_order;
static constexpr int default_tile_strokes_count_order = 22;
static const QString tile_strokes_length_enabled;
static constexpr bool default_tile_strokes_length_enabled = false;
static const QString tile_strokes_length_order;
static constexpr int default_tile_strokes_length_order = 23;
static const QString tile_watt_kg_enabled;
static constexpr bool default_tile_watt_kg_enabled = false;
static const QString tile_watt_kg_order;
static constexpr int default_tile_watt_kg_order = 25;
static const QString tile_gears_enabled;
static constexpr bool default_tile_gears_enabled = false;
static const QString tile_gears_order;
static constexpr int default_tile_gears_order = 26;
static const QString tile_remainingtimetrainprogramrow_enabled;
static constexpr bool default_tile_remainingtimetrainprogramrow_enabled = false;
static const QString tile_remainingtimetrainprogramrow_order;
static constexpr int default_tile_remainingtimetrainprogramrow_order = 27;
static const QString tile_nextrowstrainprogram_enabled;
static constexpr bool default_tile_nextrowstrainprogram_enabled = false;
static const QString tile_nextrowstrainprogram_order;
static constexpr int default_tile_nextrowstrainprogram_order = 31;
static const QString tile_mets_enabled;
static constexpr bool default_tile_mets_enabled = false;
static const QString tile_mets_order;
static constexpr int default_tile_mets_order = 28;
static const QString tile_targetmets_enabled;
static constexpr bool default_tile_targetmets_enabled = false;
static const QString tile_targetmets_order;
static constexpr int default_tile_targetmets_order = 29;
static const QString tile_steering_angle_enabled;
static constexpr bool default_tile_steering_angle_enabled = false;
static const QString tile_steering_angle_order;
static constexpr int default_tile_steering_angle_order = 30;
static const QString tile_pid_hr_enabled;
static constexpr bool default_tile_pid_hr_enabled = false;
static const QString tile_pid_hr_order;
static constexpr int default_tile_pid_hr_order = 31;
static const QString heart_rate_zone1;
static constexpr float default_heart_rate_zone1 = 70.0;
static const QString heart_rate_zone2;
static constexpr float default_heart_rate_zone2 = 80.0;
static const QString heart_rate_zone3;
static constexpr float default_heart_rate_zone3 = 90.0;
static const QString heart_rate_zone4;
static constexpr float default_heart_rate_zone4 = 100.0;
static const QString heart_max_override_enable;
static constexpr bool default_heart_max_override_enable = false;
static const QString heart_max_override_value;
static constexpr float default_heart_max_override_value = 195.0;
static const QString heart_rate_resting;
static constexpr uint8_t default_heart_rate_resting = 60;
static const QString peloton_gain;
static constexpr float default_peloton_gain = 1.0;
static const QString peloton_offset;
static constexpr float default_peloton_offset = 0;
static const QString treadmill_pid_heart_zone;
static const QString default_treadmill_pid_heart_zone;
/**
*@brief 1 mile time goal, for a training program with the speed control.
*/
static const QString pacef_1mile;
static constexpr float default_pacef_1mile = 250;
/**
*@brief 5 km time goal, for a training program with the speed control.
*/
static const QString pacef_5km;
static constexpr float default_pacef_5km = 300;
/**
*@brief 10 km time goal, for a training program with the speed control.
*/
static const QString pacef_10km;
static constexpr float default_pacef_10km = 320;
/**
*@brief pacef_1mile, but for half-marathon distance, for a training program with the speed control.
*/
static const QString pacef_halfmarathon;
static constexpr float default_pacef_halfmarathon = 340;
/**
*@brief pacef_1mile, but for marathon distance, for a training program with the speed control.
*/
static const QString pacef_marathon;
static constexpr float default_pacef_marathon = 360;
/**
*@brief default pace to be used when the ZWO file does not indicate a precise pace.
*Text values, i.e. "1 mile", "5 km", "10 km", "Half Marathon"
*/
static const QString pace_default;
static const QString default_pace_default;
static const QString domyos_treadmill_buttons;
static constexpr bool default_domyos_treadmill_buttons = false;
static const QString domyos_treadmill_distance_display;
static constexpr bool default_domyos_treadmill_distance_display = true;
static const QString domyos_treadmill_display_invert;
static constexpr bool default_domyos_treadmill_display_invert = false;
static const QString domyos_bike_cadence_filter;
static constexpr float default_domyos_bike_cadence_filter = 0.0;
static const QString domyos_bike_display_calories;
static constexpr bool default_domyos_bike_display_calories = true;
static const QString domyos_elliptical_speed_ratio;
static constexpr float default_domyos_elliptical_speed_ratio = 1.0;
static const QString eslinker_cadenza;
static constexpr bool default_eslinker_cadenza = true;
static const QString eslinker_ypoo;
static constexpr bool default_eslinker_ypoo = false;
static const QString gymstick_gx6_0_elliptical;
static constexpr bool default_gymstick_gx6_0_elliptical = false;
/**
*@brief Choose between the standard and MGARCEA watt table.
*/
static const QString echelon_watttable;
static const QString default_echelon_watttable;
static const QString proform_wheel_ratio;
static constexpr float default_proform_wheel_ratio = 0.33;
static const QString proform_tour_de_france_clc;
static constexpr bool default_proform_tour_de_france_clc = false;
static const QString proform_tdf_jonseed_watt;
static constexpr bool default_proform_tdf_jonseed_watt = false;
static const QString proform_studio;
static constexpr bool default_proform_studio = false;
static const QString proform_tdf_10;
static constexpr bool default_proform_tdf_10 = false;
static const QString horizon_gr7_cadence_multiplier;
static constexpr double default_horizon_gr7_cadence_multiplier = 1.0;
static const QString fitshow_user_id;
static constexpr int default_fitshow_user_id = 0x13AA;
static const QString inspire_peloton_formula;
static constexpr bool default_inspire_peloton_formula = false;
static const QString inspire_peloton_formula2;
static constexpr bool default_inspire_peloton_formula2 = false;
static const QString hammer_racer_s;
static constexpr bool default_hammer_racer_s = false;
static const QString pafers_treadmill;
static constexpr bool default_pafers_treadmill = false;
static const QString yesoul_peloton_formula;
static constexpr bool default_yesoul_peloton_formula = false;
static const QString nordictrack_10_treadmill;
static constexpr bool default_nordictrack_10_treadmill = true;
static const QString nordictrack_t65s_treadmill;
static constexpr bool default_nordictrack_t65s_treadmill = false;
static const QString nordictrack_treadmill_ultra_le;
static constexpr bool default_nordictrack_treadmill_ultra_le = false;
static const QString nordictrack_treadmill_commercial_le;
static constexpr bool default_nordictrack_treadmill_commercial_le = false;
static const QString proform_treadmill_carbon_tls;
static constexpr bool default_proform_treadmill_carbon_tls = false;
static const QString proform_treadmill_995i;
static constexpr bool default_proform_treadmill_995i = false;
static const QString nordictrack_series_7;
static constexpr bool default_nordictrack_series_7 = false;
static const QString nordictrack_se7i;
static constexpr bool default_nordictrack_se7i = false;
static const QString proform_treadmill_sport_3_0;
static constexpr bool default_proform_treadmill_sport_3_0 = false;
static const QString toorx_3_0;
static constexpr bool default_toorx_3_0 = false;
static const QString toorx_65s_evo;
static constexpr bool default_toorx_65s_evo = false;
static const QString jtx_fitness_sprint_treadmill;
static constexpr bool default_jtx_fitness_sprint_treadmill = false;
static const QString dkn_endurun_treadmill;
static constexpr bool default_dkn_endurun_treadmill = false;
static const QString trx_route_key;
static constexpr bool default_trx_route_key = false;
static const QString bh_spada_2;
static constexpr bool default_bh_spada_2 = false;
static const QString toorx_bike;
static constexpr bool default_toorx_bike = false;
static const QString toorx_ftms;
static constexpr bool default_toorx_ftms = false;
static const QString jll_IC400_bike;
static constexpr bool default_jll_IC400_bike = false;
static const QString fytter_ri08_bike;
static constexpr bool default_fytter_ri08_bike = false;
static const QString asviva_bike;
static constexpr bool default_asviva_bike = false;
static const QString hertz_xr_770;
static constexpr bool default_hertz_xr_770 = false;
static const QString m3i_bike_id;
static constexpr int default_m3i_bike_id = 256;
static const QString m3i_bike_speed_buffsize;
static constexpr int default_m3i_bike_speed_buffsize = 90;
static const QString m3i_bike_qt_search;
static constexpr bool default_m3i_bike_qt_search = false;
static const QString m3i_bike_kcal;
static constexpr bool default_m3i_bike_kcal = true;
static const QString snode_bike;
static constexpr bool default_snode_bike = false;
static const QString fitplus_bike;
static constexpr bool default_fitplus_bike = false;
static const QString lifespan_bike;
static constexpr bool default_lifespan_bike = false;
static const QString virtufit_etappe;
static constexpr bool default_virtufit_etappe = false;
static const QString flywheel_filter;
static constexpr int default_flywheel_filter = 2;
static const QString flywheel_life_fitness_ic8;
static constexpr bool default_flywheel_life_fitness_ic8 = false;
static const QString life_fitness_ic5;
static constexpr bool default_life_fitness_ic5 = false;
static const QString technogym_bike;
static constexpr bool default_technogym_bike = false;
static const QString sole_treadmill_inclination;
static constexpr bool default_sole_treadmill_inclination = false;
static const QString sole_treadmill_miles;
static constexpr bool default_sole_treadmill_miles = true;
static const QString sole_treadmill_f65;
static constexpr bool default_sole_treadmill_f65 = false;
static const QString sole_treadmill_f63;
static constexpr bool default_sole_treadmill_f63 = false;
static const QString sole_treadmill_tt8;
static constexpr bool default_sole_treadmill_tt8 = false;
static const QString schwinn_bike_resistance;
static constexpr bool default_schwinn_bike_resistance = false;
static const QString schwinn_bike_resistance_v2;
static constexpr bool default_schwinn_bike_resistance_v2 = false;
static const QString technogym_myrun_treadmill_experimental;
static constexpr bool default_technogym_myrun_treadmill_experimental = false;
static const QString gym_mode;
static constexpr bool default_gym_mode = false;
static const QString technogym_group_cycle;
static constexpr bool default_technogym_group_cycle = false;
static const QString ant_bike_device_number;
static constexpr int default_ant_bike_device_number = 0;
static const QString ant_heart_device_number;
static constexpr int default_ant_heart_device_number = 0;
static const QString trainprogram_random;
static constexpr bool default_trainprogram_random = false;
static const QString trainprogram_total;
static constexpr int default_trainprogram_total = 60;
static const QString trainprogram_period_seconds;
static constexpr float default_trainprogram_period_seconds = 60;
static const QString trainprogram_speed_min;
static constexpr float default_trainprogram_speed_min = 8;
static const QString trainprogram_speed_max;
static constexpr float default_trainprogram_speed_max = 16;
static const QString trainprogram_incline_min;
static constexpr float default_trainprogram_incline_min = 0;
static const QString trainprogram_incline_max;
static constexpr float default_trainprogram_incline_max = 15;
static const QString trainprogram_resistance_min;
static constexpr float default_trainprogram_resistance_min = 1;
static const QString trainprogram_resistance_max;
static constexpr float default_trainprogram_resistance_max = 32;
/**
* @brief Adjusts value in a metric object that's configured specifically for measuring WATTS.
*/
static const QString watt_offset;
static constexpr float default_watt_offset = 0;
/**
* @brief Adjusts value in a metric object that's configured specifically for measuring WATTS.
*/
static const QString watt_gain;
static constexpr float default_watt_gain = 1;
static const QString power_avg_5s;
static constexpr bool default_power_avg_5s = false;
static const QString power_avg_3s;
static constexpr bool default_power_avg_3s = false;
static const QString instant_power_on_pause;
static constexpr bool default_instant_power_on_pause = false;
static const QString toputure_teb1;
static constexpr bool default_toputure_teb1 = false;
/**
* @brief Adjusts value in a metric object that's configured specifically for measuring SPEED.
*/
static const QString speed_offset;
static constexpr float default_speed_offset = 0;
/**
* @brief Adjusts value in a metric object that's configured specifically for measuring SPEED.
*/
static const QString speed_gain;
static constexpr float default_speed_gain = 1;
static const QString filter_device;
static const QString default_filter_device;
static const QString strava_suffix;
static const QString default_strava_suffix;
static const QString intervalsicu_upload_enabled;
static constexpr bool default_intervalsicu_upload_enabled = true;
static const QString intervalsicu_suffix;
static const QString default_intervalsicu_suffix;
static const QString intervalsicu_date_prefix;
static constexpr bool default_intervalsicu_date_prefix = false;
static const QString cadence_sensor_name;
static const QString default_cadence_sensor_name;
static const QString cadence_sensor_as_bike;
static constexpr bool default_cadence_sensor_as_bike = false;
static const QString cadence_sensor_as_treadmill;
static constexpr bool default_cadence_sensor_as_treadmill = false;
static const QString cadence_sensor_speed_ratio;
static constexpr float default_cadence_sensor_speed_ratio = 0.33;
static const QString cscbike_custom_resistance_power_table;
static constexpr bool default_cscbike_custom_resistance_power_table = false;
static const QString cscbike_custom_resistance_level_1;
static constexpr float default_cscbike_custom_resistance_level_1 = 1;
static const QString cscbike_custom_watt_1;
static constexpr float default_cscbike_custom_watt_1 = 100;
static const QString cscbike_custom_resistance_level_2;
static constexpr float default_cscbike_custom_resistance_level_2 = 15;
static const QString cscbike_custom_watt_2;
static constexpr float default_cscbike_custom_watt_2 = 300;
static const QString power_hr_pwr1;
static constexpr float default_power_hr_pwr1 = 200;
static const QString power_hr_hr1;
static constexpr float default_power_hr_hr1 = 150;
static const QString power_hr_pwr2;
static constexpr float default_power_hr_pwr2 = 230;
static const QString power_hr_hr2;
static constexpr float default_power_hr_hr2 = 170;
static const QString power_sensor_name;
static const QString default_power_sensor_name;