Package com.dsi.ant.plugins.antplus.pcc
Enum Class AntPlusBikePowerPcc.MeasurementDataType
java.lang.Object
java.lang.Enum<AntPlusBikePowerPcc.MeasurementDataType>
com.dsi.ant.plugins.antplus.pcc.AntPlusBikePowerPcc.MeasurementDataType
- All Implemented Interfaces:
Serializable
,Comparable<AntPlusBikePowerPcc.MeasurementDataType>
,Constable
- Enclosing class:
- AntPlusBikePowerPcc
public static enum AntPlusBikePowerPcc.MeasurementDataType
extends Enum<AntPlusBikePowerPcc.MeasurementDataType>
The measurement data type sent by the power meter during calibration.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPercentage of process remaining until process is complete.Seconds remaining until process is complete.Force applied to the left pedal.Force applied to the right pedal.Forward driving force is represented as positive, back-pedalling force is represented as negative.Invalid data type.Sensor temperature.Torque applied to the left pedal.Torque applied to the right pedal.Forward driving torque is represented as positive, back-pedalling torque is represented as negative.The value sent by the plugin service was unrecognized indicating an upgrade of the PCC may be required to handle the value.Voltage measured within the sensor.Scalar value representing the zero offset. -
Method Summary
Modifier and TypeMethodDescriptionint
Convert enum to equivalent int valuegetValueFromInt
(int intValue) Convert int to equivalent enum valueReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COUNTDOWN_PERCENTAGE
Percentage of process remaining until process is complete. -
COUNTDOWN_TIME
Seconds remaining until process is complete. -
TORQUE_WHOLE_SENSOR
Forward driving torque is represented as positive, back-pedalling torque is represented as negative. -
TORQUE_LEFT
Torque applied to the left pedal. Forward driving torque is represented as positive, back-pedalling torque is represented as negative. -
TORQUE_RIGHT
Torque applied to the right pedal. Forward driving torque is represented as positive, back-pedalling torque is represented as negative. -
FORCE_WHOLE_SENSOR
Forward driving force is represented as positive, back-pedalling force is represented as negative. -
FORCE_LEFT
Force applied to the left pedal. Forward driving force is represented as positive, back-pedalling force is represented as negative. -
FORCE_RIGHT
Force applied to the right pedal. Forward driving force is represented as positive, back-pedalling force is represented as negative. -
ZERO_OFFSET
Scalar value representing the zero offset. -
TEMPERATURE
Sensor temperature. -
VOLTAGE
Voltage measured within the sensor. -
INVALID
Invalid data type. -
UNRECOGNIZED
The value sent by the plugin service was unrecognized indicating an upgrade of the PCC may be required to handle the value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getIntValue
public int getIntValue()Convert enum to equivalent int value- Returns:
- integer value equivalent
-
getValueFromInt
Convert int to equivalent enum value- Parameters:
intValue
- integer to convert- Returns:
- enum value equivalent
-