lib/fit4ruby/GlobalFitDictionaries.rb in fit4ruby-3.9.0 vs lib/fit4ruby/GlobalFitDictionaries.rb in fit4ruby-3.10.0
- old
+ new
@@ -1,11 +1,11 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
#
# = GlobalFitDictionaries.rb -- Fit4Ruby - FIT file processing library for Ruby
#
-# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+# Copyright (c) 2014, 2021 by Chris Schlaeger <cs@taskjuggler.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
#
@@ -712,10 +712,13 @@
dict 'intensity'
entry 0, 'active'
entry 1, 'rest'
entry 2, 'warmup'
entry 3, 'cooldown'
+ entry 4, 'recovery'
+ entry 5, 'interval'
+ entry 6, 'other'
dict 'hr_zone_calc'
entry 0, 'custom'
entry 1, 'percent_max_hr'
entry 2, 'percent_hrr'
@@ -931,10 +934,40 @@
entry 15, 'rowing'
entry 16, 'mountaineering'
entry 17, 'hiking'
entry 18, 'multisport'
entry 19, 'paddling'
+ entry 20, 'flying'
+ entry 21, 'e_biking'
+ entry 22, 'motorcycling'
+ entry 23, 'boating'
+ entry 24, 'driving'
+ entry 25, 'golf'
+ entry 26, 'hang_gliding'
+ entry 27, 'horseback_riding'
+ entry 28, 'hunting'
+ entry 29, 'fishing'
+ entry 30, 'inline_skating'
+ entry 31, 'rock_climbing'
+ entry 32, 'sailing'
+ entry 33, 'ice_skating'
+ entry 34, 'sky_diving'
+ entry 35, 'snowshoeing'
+ entry 36, 'snowmobiling'
+ entry 37, 'stand_up_paddleboarding'
+ entry 38, 'surfing'
+ entry 39, 'wakeboarding'
+ entry 40, 'water_skiing'
+ entry 41, 'kayaking'
+ entry 42, 'rafting'
+ entry 43, 'windsurfing'
+ entry 44, 'kitesurfing'
+ entry 45, 'tactical'
+ entry 46, 'jumpmaster'
+ entry 47, 'boxing'
+ entry 48, 'floor_climbing'
+ entry 53, 'diving'
entry 254, 'all'
dict 'swim_stroke'
entry 0, 'freestyle'
entry 1, 'backstroke'
@@ -1020,9 +1053,82 @@
dict 'training_status_trend'
entry 0, 'undefined'
entry 1, 'down'
entry 2, 'maintaining'
entry 3, 'up'
+
+ dict 'wkt_step_duration'
+ entry 0, 'time'
+ entry 1, 'distance'
+ entry 2, 'hr_less_than'
+ entry 3, 'hr_greater_than'
+ entry 4, 'calories'
+ entry 5, 'open'
+ entry 6, 'repeat_until_steps_cmplt'
+ entry 7, 'repeat_until_time'
+ entry 8, 'repeat_until_distance'
+ entry 9, 'repeat_until_calories'
+ entry 10, 'repeat_until_hr_less_than'
+ entry 11, 'repeat_until_hr_greater_than'
+ entry 12, 'repeat_until_power_less_than'
+ entry 13, 'repeat_until_power_greater_than'
+ entry 14, 'power_less_than'
+ entry 15, 'power_greater_than'
+ entry 16, 'training_peaks_tss'
+ entry 17, 'repeat_until_power_last_lap_less_than'
+ entry 18, 'repeat_until_max_power_last_lap_less_than'
+ entry 19, 'power_3s_less_than'
+ entry 20, 'power_10s_less_than'
+ entry 21, 'power_30s_less_than'
+ entry 22, 'power_3s_greater_than'
+ entry 23, 'power_10s_greater_than'
+ entry 24, 'power_30s_greater_than'
+ entry 25, 'power_lap_less_than'
+ entry 26, 'power_lap_greater_than'
+ entry 27, 'repeat_until_training_peaks_tss'
+ entry 28, 'repetition_time'
+ entry 29, 'reps'
+ entry 31, 'time_only'
+
+ dict 'wkt_step_target'
+ entry 0, 'speed'
+ entry 1, 'heart_rate'
+ entry 2, 'open'
+ entry 3, 'cadence'
+ entry 4, 'power'
+ entry 5, 'grade'
+ entry 6, 'resistance'
+ entry 7, 'power_3s'
+ entry 8, 'power_10s'
+ entry 9, 'power_30s'
+ entry 10, 'power_lap'
+ entry 11, 'swim_stroke'
+ entry 12, 'speed_lap'
+ entry 13, 'heart_rate_lap'
+
+ dict 'workout_capabilities'
+ entry 0x1, 'interval'
+ entry 0x2, 'custom'
+ entry 0x4, 'fitness_equipment'
+ entry 0x8, 'firstbeat'
+ entry 0x10, 'new_leaf'
+ entry 0x20, 'tcx'
+ entry 0x80, 'speed'
+ entry 0x100, 'heart_rate'
+ entry 0x200, 'distance'
+ entry 0x400, 'cadence'
+ entry 0x800, 'power'
+ entry 0x1000, 'grade'
+ entry 0x2000, 'resistance'
+ entry 0x4000, 'protected'
+
+ dict 'workout_equipment'
+ entry 0, 'none'
+ entry 1, 'swim_fins'
+ entry 2, 'swim_kickboard'
+ entry 3, 'swim_paddles'
+ entry 4, 'swim_pull_buoy'
+ entry 5, 'swim_snorkel'
end
end