public static enum AntPlusBikePowerPcc.MeasurementDataType extends java.lang.Enum<AntPlusBikePowerPcc.MeasurementDataType>
Enum Constant and Description |
---|
COUNTDOWN_PERCENTAGE
Percentage of process remaining until process is complete.
|
COUNTDOWN_TIME
Seconds remaining until process is complete.
|
FORCE_LEFT
Force applied to the left pedal.
|
FORCE_RIGHT
Force applied to the right pedal.
|
FORCE_WHOLE_SENSOR
Forward driving force is represented as positive, back-pedalling force is represented as negative.
|
INVALID
Invalid data type.
|
TEMPERATURE
Sensor temperature.
|
TORQUE_LEFT
Torque applied to the left pedal.
|
TORQUE_RIGHT
Torque applied to the right pedal.
|
TORQUE_WHOLE_SENSOR
Forward driving torque is represented as positive, back-pedalling torque is represented as negative.
|
UNRECOGNIZED
The value sent by the plugin service was unrecognized indicating an upgrade of the PCC may be required to handle the value.
|
VOLTAGE
Voltage measured within the sensor.
|
ZERO_OFFSET
Scalar value representing the zero offset.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Convert enum to equivalent int value
|
static AntPlusBikePowerPcc.MeasurementDataType |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntPlusBikePowerPcc.MeasurementDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusBikePowerPcc.MeasurementDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusBikePowerPcc.MeasurementDataType COUNTDOWN_PERCENTAGE
public static final AntPlusBikePowerPcc.MeasurementDataType COUNTDOWN_TIME
public static final AntPlusBikePowerPcc.MeasurementDataType TORQUE_WHOLE_SENSOR
public static final AntPlusBikePowerPcc.MeasurementDataType TORQUE_LEFT
public static final AntPlusBikePowerPcc.MeasurementDataType TORQUE_RIGHT
public static final AntPlusBikePowerPcc.MeasurementDataType FORCE_WHOLE_SENSOR
public static final AntPlusBikePowerPcc.MeasurementDataType FORCE_LEFT
public static final AntPlusBikePowerPcc.MeasurementDataType FORCE_RIGHT
public static final AntPlusBikePowerPcc.MeasurementDataType ZERO_OFFSET
public static final AntPlusBikePowerPcc.MeasurementDataType TEMPERATURE
public static final AntPlusBikePowerPcc.MeasurementDataType VOLTAGE
public static final AntPlusBikePowerPcc.MeasurementDataType INVALID
public static final AntPlusBikePowerPcc.MeasurementDataType UNRECOGNIZED
public static AntPlusBikePowerPcc.MeasurementDataType[] values()
for (AntPlusBikePowerPcc.MeasurementDataType c : AntPlusBikePowerPcc.MeasurementDataType.values()) System.out.println(c);
public static AntPlusBikePowerPcc.MeasurementDataType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
public static AntPlusBikePowerPcc.MeasurementDataType getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.