Class: Toybox.AntPlus.DerailleurStatus
- Inherits:
-
Toybox.Lang.Object
Overview
Class that stores current status information about a connected derailleur
Instance Member Summary collapse
-
gearIndex as Lang.Number
Current gear index (for front derailleur 0 - 6, Toybox::AntPlus::FRONT_GEAR_INVALID = Unknown gear index / Error) (for rear derailleur 0 - 30, Toybox::AntPlus::REAR_GEAR_INVALID = Unknown gear index / Error).
-
gearMax as Lang.Number
Number of gears installed (1 - 7, Toybox::AntPlus::MAX_GEARS_INVALID = Unknown gear count / Error) (1 - 31, Toybox::AntPlus::MAX_GEARS_INVALID = Unknown gear count / Error).
-
gearSize as Lang.Number
Current gear size (number of teeth, 0 - 255).
-
invalidInboardShiftCount as Lang.Number
Number of invalid inboard shifts (0 - 255).
-
invalidOutboardShiftCount as Lang.Number
Number of invalid outboard shifts (0 - 255).
-
shiftFailureCount as Lang.Number
Number of shift failures (0 - 255).
Instance Attribute Details
var gearIndex as Lang.Number
Current gear index (for front derailleur 0 - 6, Toybox::AntPlus::FRONT_GEAR_INVALID = Unknown gear index / Error) (for rear derailleur 0 - 30, Toybox::AntPlus::REAR_GEAR_INVALID = Unknown gear index / Error)
var gearMax as Lang.Number
Number of gears installed (1 - 7, Toybox::AntPlus::MAX_GEARS_INVALID = Unknown gear count / Error) (1 - 31, Toybox::AntPlus::MAX_GEARS_INVALID = Unknown gear count / Error)
var gearSize as Lang.Number
Current gear size (number of teeth, 0 - 255)
var invalidInboardShiftCount as Lang.Number
Number of invalid inboard shifts (0 - 255)
var invalidOutboardShiftCount as Lang.Number
Number of invalid outboard shifts (0 - 255)
var shiftFailureCount as Lang.Number
Number of shift failures (0 - 255)