-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathprofile_gen.go
executable file
·1665 lines (1652 loc) · 35.1 KB
/
profile_gen.go
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
// Code generated by internal/cmd/fitgen/main.go. DO NOT EDIT.
// Copyright 2023 The FIT SDK for Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package profile
import (
"strconv"
"github.com/muktihari/fit/profile/basetype"
)
type ProfileType uint16
const (
Enum ProfileType = iota
Sint8
Uint8
Sint16
Uint16
Sint32
Uint32
String
Float32
Float64
Uint8z
Uint16z
Uint32z
Byte
Sint64
Uint64
Uint64z
Bool
File
MesgNum
Checksum
FileFlags
MesgCount
DateTime
LocalDateTime
MessageIndex
DeviceIndex
Gender
Language
LanguageBits0
LanguageBits1
LanguageBits2
LanguageBits3
LanguageBits4
TimeZone
DisplayMeasure
DisplayHeart
DisplayPower
DisplayPosition
Switch
Sport
SportBits0
SportBits1
SportBits2
SportBits3
SportBits4
SportBits5
SportBits6
SubSport
SportEvent
Activity
Intensity
SessionTrigger
AutolapTrigger
LapTrigger
TimeMode
BacklightMode
DateMode
BacklightTimeout
Event
EventType
TimerTrigger
FitnessEquipmentState
Tone
Autoscroll
ActivityClass
HrZoneCalc
PwrZoneCalc
WktStepDuration
WktStepTarget
Goal
GoalRecurrence
GoalSource
Schedule
CoursePoint
Manufacturer
GarminProduct
AntplusDeviceType
AntNetwork
WorkoutCapabilities
BatteryStatus
HrType
CourseCapabilities
Weight
WorkoutHr
WorkoutPower
BpStatus
UserLocalId
SwimStroke
ActivityType
ActivitySubtype
ActivityLevel
Side
LeftRightBalance
LeftRightBalance100
LengthType
DayOfWeek
ConnectivityCapabilities
WeatherReport
WeatherStatus
WeatherSeverity
WeatherSevereType
TimeIntoDay
LocaltimeIntoDay
StrokeType
BodyLocation
SegmentLapStatus
SegmentLeaderboardType
SegmentDeleteStatus
SegmentSelectionType
SourceType
LocalDeviceType
BleDeviceType
AntChannelId
DisplayOrientation
WorkoutEquipment
WatchfaceMode
DigitalWatchfaceLayout
AnalogWatchfaceLayout
RiderPositionType
PowerPhaseType
CameraEventType
SensorType
BikeLightNetworkConfigType
CommTimeoutType
CameraOrientationType
AttitudeStage
AttitudeValidity
AutoSyncFrequency
ExdLayout
ExdDisplayType
ExdDataUnits
ExdQualifiers
ExdDescriptors
AutoActivityDetect
SupportedExdScreenLayouts
FitBaseType
TurnType
BikeLightBeamAngleMode
FitBaseUnit
SetType
MaxMetCategory
ExerciseCategory
BenchPressExerciseName
CalfRaiseExerciseName
CardioExerciseName
CarryExerciseName
ChopExerciseName
CoreExerciseName
CrunchExerciseName
CurlExerciseName
DeadliftExerciseName
FlyeExerciseName
HipRaiseExerciseName
HipStabilityExerciseName
HipSwingExerciseName
HyperextensionExerciseName
LateralRaiseExerciseName
LegCurlExerciseName
LegRaiseExerciseName
LungeExerciseName
OlympicLiftExerciseName
PlankExerciseName
PlyoExerciseName
PullUpExerciseName
PushUpExerciseName
RowExerciseName
ShoulderPressExerciseName
ShoulderStabilityExerciseName
ShrugExerciseName
SitUpExerciseName
SquatExerciseName
TotalBodyExerciseName
TricepsExtensionExerciseName
WarmUpExerciseName
RunExerciseName
WaterType
TissueModelType
DiveGasStatus
DiveAlert
DiveAlarmType
DiveBacklightMode
SleepLevel
Spo2MeasurementType
CcrSetpointSwitchMode
DiveGasMode
ProjectileType
FaveroProduct
SplitType
ClimbProEvent
GasConsumptionRateType
TapSensitivity
RadarThreatLevelType
MaxMetSpeedSource
MaxMetHeartRateSource
HrvStatus
NoFlyTimeMode
Invalid ProfileType = 65535
)
func (p ProfileType) Uint16() uint16 { return uint16(p) }
func (p ProfileType) String() string {
switch p {
case Enum:
return "enum"
case Sint8:
return "sint8"
case Uint8:
return "uint8"
case Sint16:
return "sint16"
case Uint16:
return "uint16"
case Sint32:
return "sint32"
case Uint32:
return "uint32"
case String:
return "string"
case Float32:
return "float32"
case Float64:
return "float64"
case Uint8z:
return "uint8z"
case Uint16z:
return "uint16z"
case Uint32z:
return "uint32z"
case Byte:
return "byte"
case Sint64:
return "sint64"
case Uint64:
return "uint64"
case Uint64z:
return "uint64z"
case Bool:
return "bool"
case File:
return "file"
case MesgNum:
return "mesg_num"
case Checksum:
return "checksum"
case FileFlags:
return "file_flags"
case MesgCount:
return "mesg_count"
case DateTime:
return "date_time"
case LocalDateTime:
return "local_date_time"
case MessageIndex:
return "message_index"
case DeviceIndex:
return "device_index"
case Gender:
return "gender"
case Language:
return "language"
case LanguageBits0:
return "language_bits_0"
case LanguageBits1:
return "language_bits_1"
case LanguageBits2:
return "language_bits_2"
case LanguageBits3:
return "language_bits_3"
case LanguageBits4:
return "language_bits_4"
case TimeZone:
return "time_zone"
case DisplayMeasure:
return "display_measure"
case DisplayHeart:
return "display_heart"
case DisplayPower:
return "display_power"
case DisplayPosition:
return "display_position"
case Switch:
return "switch"
case Sport:
return "sport"
case SportBits0:
return "sport_bits_0"
case SportBits1:
return "sport_bits_1"
case SportBits2:
return "sport_bits_2"
case SportBits3:
return "sport_bits_3"
case SportBits4:
return "sport_bits_4"
case SportBits5:
return "sport_bits_5"
case SportBits6:
return "sport_bits_6"
case SubSport:
return "sub_sport"
case SportEvent:
return "sport_event"
case Activity:
return "activity"
case Intensity:
return "intensity"
case SessionTrigger:
return "session_trigger"
case AutolapTrigger:
return "autolap_trigger"
case LapTrigger:
return "lap_trigger"
case TimeMode:
return "time_mode"
case BacklightMode:
return "backlight_mode"
case DateMode:
return "date_mode"
case BacklightTimeout:
return "backlight_timeout"
case Event:
return "event"
case EventType:
return "event_type"
case TimerTrigger:
return "timer_trigger"
case FitnessEquipmentState:
return "fitness_equipment_state"
case Tone:
return "tone"
case Autoscroll:
return "autoscroll"
case ActivityClass:
return "activity_class"
case HrZoneCalc:
return "hr_zone_calc"
case PwrZoneCalc:
return "pwr_zone_calc"
case WktStepDuration:
return "wkt_step_duration"
case WktStepTarget:
return "wkt_step_target"
case Goal:
return "goal"
case GoalRecurrence:
return "goal_recurrence"
case GoalSource:
return "goal_source"
case Schedule:
return "schedule"
case CoursePoint:
return "course_point"
case Manufacturer:
return "manufacturer"
case GarminProduct:
return "garmin_product"
case AntplusDeviceType:
return "antplus_device_type"
case AntNetwork:
return "ant_network"
case WorkoutCapabilities:
return "workout_capabilities"
case BatteryStatus:
return "battery_status"
case HrType:
return "hr_type"
case CourseCapabilities:
return "course_capabilities"
case Weight:
return "weight"
case WorkoutHr:
return "workout_hr"
case WorkoutPower:
return "workout_power"
case BpStatus:
return "bp_status"
case UserLocalId:
return "user_local_id"
case SwimStroke:
return "swim_stroke"
case ActivityType:
return "activity_type"
case ActivitySubtype:
return "activity_subtype"
case ActivityLevel:
return "activity_level"
case Side:
return "side"
case LeftRightBalance:
return "left_right_balance"
case LeftRightBalance100:
return "left_right_balance_100"
case LengthType:
return "length_type"
case DayOfWeek:
return "day_of_week"
case ConnectivityCapabilities:
return "connectivity_capabilities"
case WeatherReport:
return "weather_report"
case WeatherStatus:
return "weather_status"
case WeatherSeverity:
return "weather_severity"
case WeatherSevereType:
return "weather_severe_type"
case TimeIntoDay:
return "time_into_day"
case LocaltimeIntoDay:
return "localtime_into_day"
case StrokeType:
return "stroke_type"
case BodyLocation:
return "body_location"
case SegmentLapStatus:
return "segment_lap_status"
case SegmentLeaderboardType:
return "segment_leaderboard_type"
case SegmentDeleteStatus:
return "segment_delete_status"
case SegmentSelectionType:
return "segment_selection_type"
case SourceType:
return "source_type"
case LocalDeviceType:
return "local_device_type"
case BleDeviceType:
return "ble_device_type"
case AntChannelId:
return "ant_channel_id"
case DisplayOrientation:
return "display_orientation"
case WorkoutEquipment:
return "workout_equipment"
case WatchfaceMode:
return "watchface_mode"
case DigitalWatchfaceLayout:
return "digital_watchface_layout"
case AnalogWatchfaceLayout:
return "analog_watchface_layout"
case RiderPositionType:
return "rider_position_type"
case PowerPhaseType:
return "power_phase_type"
case CameraEventType:
return "camera_event_type"
case SensorType:
return "sensor_type"
case BikeLightNetworkConfigType:
return "bike_light_network_config_type"
case CommTimeoutType:
return "comm_timeout_type"
case CameraOrientationType:
return "camera_orientation_type"
case AttitudeStage:
return "attitude_stage"
case AttitudeValidity:
return "attitude_validity"
case AutoSyncFrequency:
return "auto_sync_frequency"
case ExdLayout:
return "exd_layout"
case ExdDisplayType:
return "exd_display_type"
case ExdDataUnits:
return "exd_data_units"
case ExdQualifiers:
return "exd_qualifiers"
case ExdDescriptors:
return "exd_descriptors"
case AutoActivityDetect:
return "auto_activity_detect"
case SupportedExdScreenLayouts:
return "supported_exd_screen_layouts"
case FitBaseType:
return "fit_base_type"
case TurnType:
return "turn_type"
case BikeLightBeamAngleMode:
return "bike_light_beam_angle_mode"
case FitBaseUnit:
return "fit_base_unit"
case SetType:
return "set_type"
case MaxMetCategory:
return "max_met_category"
case ExerciseCategory:
return "exercise_category"
case BenchPressExerciseName:
return "bench_press_exercise_name"
case CalfRaiseExerciseName:
return "calf_raise_exercise_name"
case CardioExerciseName:
return "cardio_exercise_name"
case CarryExerciseName:
return "carry_exercise_name"
case ChopExerciseName:
return "chop_exercise_name"
case CoreExerciseName:
return "core_exercise_name"
case CrunchExerciseName:
return "crunch_exercise_name"
case CurlExerciseName:
return "curl_exercise_name"
case DeadliftExerciseName:
return "deadlift_exercise_name"
case FlyeExerciseName:
return "flye_exercise_name"
case HipRaiseExerciseName:
return "hip_raise_exercise_name"
case HipStabilityExerciseName:
return "hip_stability_exercise_name"
case HipSwingExerciseName:
return "hip_swing_exercise_name"
case HyperextensionExerciseName:
return "hyperextension_exercise_name"
case LateralRaiseExerciseName:
return "lateral_raise_exercise_name"
case LegCurlExerciseName:
return "leg_curl_exercise_name"
case LegRaiseExerciseName:
return "leg_raise_exercise_name"
case LungeExerciseName:
return "lunge_exercise_name"
case OlympicLiftExerciseName:
return "olympic_lift_exercise_name"
case PlankExerciseName:
return "plank_exercise_name"
case PlyoExerciseName:
return "plyo_exercise_name"
case PullUpExerciseName:
return "pull_up_exercise_name"
case PushUpExerciseName:
return "push_up_exercise_name"
case RowExerciseName:
return "row_exercise_name"
case ShoulderPressExerciseName:
return "shoulder_press_exercise_name"
case ShoulderStabilityExerciseName:
return "shoulder_stability_exercise_name"
case ShrugExerciseName:
return "shrug_exercise_name"
case SitUpExerciseName:
return "sit_up_exercise_name"
case SquatExerciseName:
return "squat_exercise_name"
case TotalBodyExerciseName:
return "total_body_exercise_name"
case TricepsExtensionExerciseName:
return "triceps_extension_exercise_name"
case WarmUpExerciseName:
return "warm_up_exercise_name"
case RunExerciseName:
return "run_exercise_name"
case WaterType:
return "water_type"
case TissueModelType:
return "tissue_model_type"
case DiveGasStatus:
return "dive_gas_status"
case DiveAlert:
return "dive_alert"
case DiveAlarmType:
return "dive_alarm_type"
case DiveBacklightMode:
return "dive_backlight_mode"
case SleepLevel:
return "sleep_level"
case Spo2MeasurementType:
return "spo2_measurement_type"
case CcrSetpointSwitchMode:
return "ccr_setpoint_switch_mode"
case DiveGasMode:
return "dive_gas_mode"
case ProjectileType:
return "projectile_type"
case FaveroProduct:
return "favero_product"
case SplitType:
return "split_type"
case ClimbProEvent:
return "climb_pro_event"
case GasConsumptionRateType:
return "gas_consumption_rate_type"
case TapSensitivity:
return "tap_sensitivity"
case RadarThreatLevelType:
return "radar_threat_level_type"
case MaxMetSpeedSource:
return "max_met_speed_source"
case MaxMetHeartRateSource:
return "max_met_heart_rate_source"
case HrvStatus:
return "hrv_status"
case NoFlyTimeMode:
return "no_fly_time_mode"
default:
return "ProfileTypeInvalid(" + strconv.FormatUint(uint64(p), 10) + ")"
}
}
// FromString parse string into ProfileType constant it's represent, return ProfileTypeInvalid if not found.
func ProfileTypeFromString(s string) ProfileType {
switch s {
case "enum":
return Enum
case "sint8":
return Sint8
case "uint8":
return Uint8
case "sint16":
return Sint16
case "uint16":
return Uint16
case "sint32":
return Sint32
case "uint32":
return Uint32
case "string":
return String
case "float32":
return Float32
case "float64":
return Float64
case "uint8z":
return Uint8z
case "uint16z":
return Uint16z
case "uint32z":
return Uint32z
case "byte":
return Byte
case "sint64":
return Sint64
case "uint64":
return Uint64
case "uint64z":
return Uint64z
case "bool":
return Bool
case "file":
return File
case "mesg_num":
return MesgNum
case "checksum":
return Checksum
case "file_flags":
return FileFlags
case "mesg_count":
return MesgCount
case "date_time":
return DateTime
case "local_date_time":
return LocalDateTime
case "message_index":
return MessageIndex
case "device_index":
return DeviceIndex
case "gender":
return Gender
case "language":
return Language
case "language_bits_0":
return LanguageBits0
case "language_bits_1":
return LanguageBits1
case "language_bits_2":
return LanguageBits2
case "language_bits_3":
return LanguageBits3
case "language_bits_4":
return LanguageBits4
case "time_zone":
return TimeZone
case "display_measure":
return DisplayMeasure
case "display_heart":
return DisplayHeart
case "display_power":
return DisplayPower
case "display_position":
return DisplayPosition
case "switch":
return Switch
case "sport":
return Sport
case "sport_bits_0":
return SportBits0
case "sport_bits_1":
return SportBits1
case "sport_bits_2":
return SportBits2
case "sport_bits_3":
return SportBits3
case "sport_bits_4":
return SportBits4
case "sport_bits_5":
return SportBits5
case "sport_bits_6":
return SportBits6
case "sub_sport":
return SubSport
case "sport_event":
return SportEvent
case "activity":
return Activity
case "intensity":
return Intensity
case "session_trigger":
return SessionTrigger
case "autolap_trigger":
return AutolapTrigger
case "lap_trigger":
return LapTrigger
case "time_mode":
return TimeMode
case "backlight_mode":
return BacklightMode
case "date_mode":
return DateMode
case "backlight_timeout":
return BacklightTimeout
case "event":
return Event
case "event_type":
return EventType
case "timer_trigger":
return TimerTrigger
case "fitness_equipment_state":
return FitnessEquipmentState
case "tone":
return Tone
case "autoscroll":
return Autoscroll
case "activity_class":
return ActivityClass
case "hr_zone_calc":
return HrZoneCalc
case "pwr_zone_calc":
return PwrZoneCalc
case "wkt_step_duration":
return WktStepDuration
case "wkt_step_target":
return WktStepTarget
case "goal":
return Goal
case "goal_recurrence":
return GoalRecurrence
case "goal_source":
return GoalSource
case "schedule":
return Schedule
case "course_point":
return CoursePoint
case "manufacturer":
return Manufacturer
case "garmin_product":
return GarminProduct
case "antplus_device_type":
return AntplusDeviceType
case "ant_network":
return AntNetwork
case "workout_capabilities":
return WorkoutCapabilities
case "battery_status":
return BatteryStatus
case "hr_type":
return HrType
case "course_capabilities":
return CourseCapabilities
case "weight":
return Weight
case "workout_hr":
return WorkoutHr
case "workout_power":
return WorkoutPower
case "bp_status":
return BpStatus
case "user_local_id":
return UserLocalId
case "swim_stroke":
return SwimStroke
case "activity_type":
return ActivityType
case "activity_subtype":
return ActivitySubtype
case "activity_level":
return ActivityLevel
case "side":
return Side
case "left_right_balance":
return LeftRightBalance
case "left_right_balance_100":
return LeftRightBalance100
case "length_type":
return LengthType
case "day_of_week":
return DayOfWeek
case "connectivity_capabilities":
return ConnectivityCapabilities
case "weather_report":
return WeatherReport
case "weather_status":
return WeatherStatus
case "weather_severity":
return WeatherSeverity
case "weather_severe_type":
return WeatherSevereType
case "time_into_day":
return TimeIntoDay
case "localtime_into_day":
return LocaltimeIntoDay
case "stroke_type":
return StrokeType
case "body_location":
return BodyLocation
case "segment_lap_status":
return SegmentLapStatus
case "segment_leaderboard_type":
return SegmentLeaderboardType
case "segment_delete_status":
return SegmentDeleteStatus
case "segment_selection_type":
return SegmentSelectionType
case "source_type":
return SourceType
case "local_device_type":
return LocalDeviceType
case "ble_device_type":
return BleDeviceType
case "ant_channel_id":
return AntChannelId
case "display_orientation":
return DisplayOrientation
case "workout_equipment":
return WorkoutEquipment
case "watchface_mode":
return WatchfaceMode
case "digital_watchface_layout":
return DigitalWatchfaceLayout
case "analog_watchface_layout":
return AnalogWatchfaceLayout
case "rider_position_type":
return RiderPositionType
case "power_phase_type":
return PowerPhaseType
case "camera_event_type":
return CameraEventType
case "sensor_type":
return SensorType
case "bike_light_network_config_type":
return BikeLightNetworkConfigType
case "comm_timeout_type":
return CommTimeoutType
case "camera_orientation_type":
return CameraOrientationType
case "attitude_stage":
return AttitudeStage
case "attitude_validity":
return AttitudeValidity
case "auto_sync_frequency":
return AutoSyncFrequency
case "exd_layout":
return ExdLayout
case "exd_display_type":
return ExdDisplayType
case "exd_data_units":
return ExdDataUnits
case "exd_qualifiers":
return ExdQualifiers
case "exd_descriptors":
return ExdDescriptors
case "auto_activity_detect":
return AutoActivityDetect
case "supported_exd_screen_layouts":
return SupportedExdScreenLayouts
case "fit_base_type":
return FitBaseType
case "turn_type":
return TurnType
case "bike_light_beam_angle_mode":
return BikeLightBeamAngleMode
case "fit_base_unit":
return FitBaseUnit
case "set_type":
return SetType
case "max_met_category":
return MaxMetCategory
case "exercise_category":
return ExerciseCategory
case "bench_press_exercise_name":
return BenchPressExerciseName
case "calf_raise_exercise_name":
return CalfRaiseExerciseName
case "cardio_exercise_name":
return CardioExerciseName
case "carry_exercise_name":
return CarryExerciseName
case "chop_exercise_name":
return ChopExerciseName
case "core_exercise_name":
return CoreExerciseName
case "crunch_exercise_name":
return CrunchExerciseName
case "curl_exercise_name":
return CurlExerciseName
case "deadlift_exercise_name":
return DeadliftExerciseName
case "flye_exercise_name":
return FlyeExerciseName
case "hip_raise_exercise_name":
return HipRaiseExerciseName
case "hip_stability_exercise_name":
return HipStabilityExerciseName
case "hip_swing_exercise_name":
return HipSwingExerciseName
case "hyperextension_exercise_name":
return HyperextensionExerciseName
case "lateral_raise_exercise_name":
return LateralRaiseExerciseName
case "leg_curl_exercise_name":
return LegCurlExerciseName
case "leg_raise_exercise_name":
return LegRaiseExerciseName
case "lunge_exercise_name":
return LungeExerciseName
case "olympic_lift_exercise_name":
return OlympicLiftExerciseName
case "plank_exercise_name":
return PlankExerciseName
case "plyo_exercise_name":
return PlyoExerciseName
case "pull_up_exercise_name":
return PullUpExerciseName
case "push_up_exercise_name":
return PushUpExerciseName
case "row_exercise_name":
return RowExerciseName
case "shoulder_press_exercise_name":
return ShoulderPressExerciseName
case "shoulder_stability_exercise_name":
return ShoulderStabilityExerciseName
case "shrug_exercise_name":
return ShrugExerciseName
case "sit_up_exercise_name":
return SitUpExerciseName
case "squat_exercise_name":
return SquatExerciseName
case "total_body_exercise_name":
return TotalBodyExerciseName
case "triceps_extension_exercise_name":
return TricepsExtensionExerciseName
case "warm_up_exercise_name":
return WarmUpExerciseName
case "run_exercise_name":
return RunExerciseName
case "water_type":
return WaterType
case "tissue_model_type":
return TissueModelType
case "dive_gas_status":
return DiveGasStatus
case "dive_alert":
return DiveAlert
case "dive_alarm_type":
return DiveAlarmType
case "dive_backlight_mode":
return DiveBacklightMode
case "sleep_level":
return SleepLevel
case "spo2_measurement_type":
return Spo2MeasurementType
case "ccr_setpoint_switch_mode":
return CcrSetpointSwitchMode
case "dive_gas_mode":
return DiveGasMode
case "projectile_type":
return ProjectileType
case "favero_product":
return FaveroProduct
case "split_type":