public class TimeInZoneMesg extends Mesg
Modifier and Type | Field and Description |
---|---|
static int |
CadenceZoneHighBondaryFieldNum |
static int |
FunctionalThresholdPowerFieldNum |
static int |
HrCalcTypeFieldNum |
static int |
HrZoneHighBoundaryFieldNum |
static int |
MaxHeartRateFieldNum |
static int |
PowerZoneHighBoundaryFieldNum |
static int |
PwrCalcTypeFieldNum |
static int |
ReferenceIndexFieldNum |
static int |
ReferenceMesgFieldNum |
static int |
RestingHeartRateFieldNum |
static int |
SpeedZoneHighBoundaryFieldNum |
static int |
ThresholdHeartRateFieldNum |
static int |
TimeInCadenceZoneFieldNum |
static int |
TimeInHrZoneFieldNum |
static int |
TimeInPowerZoneFieldNum |
static int |
TimeInSpeedZoneFieldNum |
protected static Mesg |
timeInZoneMesg |
static int |
TimestampFieldNum |
developerFields, fields, localNum, name, num, systemTimeOffset
Constructor and Description |
---|
TimeInZoneMesg() |
TimeInZoneMesg(Mesg mesg) |
Modifier and Type | Method and Description |
---|---|
java.lang.Short[] |
getCadenceZoneHighBondary() |
java.lang.Short |
getCadenceZoneHighBondary(int index)
Get cadence_zone_high_bondary field
Units: rpm
|
java.lang.Integer |
getFunctionalThresholdPower()
Get functional_threshold_power field
|
HrZoneCalc |
getHrCalcType()
Get hr_calc_type field
|
java.lang.Short[] |
getHrZoneHighBoundary() |
java.lang.Short |
getHrZoneHighBoundary(int index)
Get hr_zone_high_boundary field
Units: bpm
|
java.lang.Short |
getMaxHeartRate()
Get max_heart_rate field
|
int |
getNumCadenceZoneHighBondary() |
int |
getNumHrZoneHighBoundary() |
int |
getNumPowerZoneHighBoundary() |
int |
getNumSpeedZoneHighBoundary() |
int |
getNumTimeInCadenceZone() |
int |
getNumTimeInHrZone() |
int |
getNumTimeInPowerZone() |
int |
getNumTimeInSpeedZone() |
java.lang.Integer[] |
getPowerZoneHighBoundary() |
java.lang.Integer |
getPowerZoneHighBoundary(int index)
Get power_zone_high_boundary field
Units: watts
|
PwrZoneCalc |
getPwrCalcType()
Get pwr_calc_type field
|
java.lang.Integer |
getReferenceIndex()
Get reference_index field
|
java.lang.Integer |
getReferenceMesg()
Get reference_mesg field
|
java.lang.Short |
getRestingHeartRate()
Get resting_heart_rate field
|
java.lang.Float[] |
getSpeedZoneHighBoundary() |
java.lang.Float |
getSpeedZoneHighBoundary(int index)
Get speed_zone_high_boundary field
Units: m/s
|
java.lang.Short |
getThresholdHeartRate()
Get threshold_heart_rate field
|
java.lang.Float[] |
getTimeInCadenceZone() |
java.lang.Float |
getTimeInCadenceZone(int index)
Get time_in_cadence_zone field
Units: s
|
java.lang.Float[] |
getTimeInHrZone() |
java.lang.Float |
getTimeInHrZone(int index)
Get time_in_hr_zone field
Units: s
|
java.lang.Float[] |
getTimeInPowerZone() |
java.lang.Float |
getTimeInPowerZone(int index)
Get time_in_power_zone field
Units: s
|
java.lang.Float[] |
getTimeInSpeedZone() |
java.lang.Float |
getTimeInSpeedZone(int index)
Get time_in_speed_zone field
Units: s
|
DateTime |
getTimestamp()
Get timestamp field
Units: s
|
void |
setCadenceZoneHighBondary(int index,
java.lang.Short cadenceZoneHighBondary)
Set cadence_zone_high_bondary field
Units: rpm
|
void |
setFunctionalThresholdPower(java.lang.Integer functionalThresholdPower)
Set functional_threshold_power field
|
void |
setHrCalcType(HrZoneCalc hrCalcType)
Set hr_calc_type field
|
void |
setHrZoneHighBoundary(int index,
java.lang.Short hrZoneHighBoundary)
Set hr_zone_high_boundary field
Units: bpm
|
void |
setMaxHeartRate(java.lang.Short maxHeartRate)
Set max_heart_rate field
|
void |
setPowerZoneHighBoundary(int index,
java.lang.Integer powerZoneHighBoundary)
Set power_zone_high_boundary field
Units: watts
|
void |
setPwrCalcType(PwrZoneCalc pwrCalcType)
Set pwr_calc_type field
|
void |
setReferenceIndex(java.lang.Integer referenceIndex)
Set reference_index field
|
void |
setReferenceMesg(java.lang.Integer referenceMesg)
Set reference_mesg field
|
void |
setRestingHeartRate(java.lang.Short restingHeartRate)
Set resting_heart_rate field
|
void |
setSpeedZoneHighBoundary(int index,
java.lang.Float speedZoneHighBoundary)
Set speed_zone_high_boundary field
Units: m/s
|
void |
setThresholdHeartRate(java.lang.Short thresholdHeartRate)
Set threshold_heart_rate field
|
void |
setTimeInCadenceZone(int index,
java.lang.Float timeInCadenceZone)
Set time_in_cadence_zone field
Units: s
|
void |
setTimeInHrZone(int index,
java.lang.Float timeInHrZone)
Set time_in_hr_zone field
Units: s
|
void |
setTimeInPowerZone(int index,
java.lang.Float timeInPowerZone)
Set time_in_power_zone field
Units: s
|
void |
setTimeInSpeedZone(int index,
java.lang.Float timeInSpeedZone)
Set time_in_speed_zone field
Units: s
|
void |
setTimestamp(DateTime timestamp)
Set timestamp field
Units: s
|
addDeveloperField, addField, getActiveSubFieldIndex, getActiveSubFieldName, getDeveloperFields, getField, getField, getField, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBitsValue, getFieldBitsValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValues, getFieldByteValues, getFieldByteValues, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValues, getFieldDoubleValues, getFieldDoubleValues, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValues, getFieldFloatValues, getFieldFloatValues, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValues, getFieldIntegerValues, getFieldIntegerValues, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValues, getFieldLongValues, getFieldLongValues, getFields, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValues, getFieldShortValues, getFieldShortValues, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValues, getFieldStringValues, getFieldStringValues, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getIsFieldAccumulated, getLocalNum, getName, getNum, getNumFields, getNumFieldValues, getNumFieldValues, getNumFieldValues, getNumFieldValues, getOverrideField, hasField, removeExpandedFields, removeField, setField, setFields, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setLocalNum, timestampToDateTime, write, write
public static final int TimestampFieldNum
public static final int ReferenceMesgFieldNum
public static final int ReferenceIndexFieldNum
public static final int TimeInHrZoneFieldNum
public static final int TimeInSpeedZoneFieldNum
public static final int TimeInCadenceZoneFieldNum
public static final int TimeInPowerZoneFieldNum
public static final int HrZoneHighBoundaryFieldNum
public static final int SpeedZoneHighBoundaryFieldNum
public static final int CadenceZoneHighBondaryFieldNum
public static final int PowerZoneHighBoundaryFieldNum
public static final int HrCalcTypeFieldNum
public static final int MaxHeartRateFieldNum
public static final int RestingHeartRateFieldNum
public static final int ThresholdHeartRateFieldNum
public static final int PwrCalcTypeFieldNum
public static final int FunctionalThresholdPowerFieldNum
protected static final Mesg timeInZoneMesg
public TimeInZoneMesg()
public TimeInZoneMesg(Mesg mesg)
public DateTime getTimestamp()
public void setTimestamp(DateTime timestamp)
timestamp
- The new timestamp value to be setpublic java.lang.Integer getReferenceMesg()
public void setReferenceMesg(java.lang.Integer referenceMesg)
referenceMesg
- The new referenceMesg value to be setpublic java.lang.Integer getReferenceIndex()
public void setReferenceIndex(java.lang.Integer referenceIndex)
referenceIndex
- The new referenceIndex value to be setpublic java.lang.Float[] getTimeInHrZone()
public int getNumTimeInHrZone()
public java.lang.Float getTimeInHrZone(int index)
index
- of time_in_hr_zonepublic void setTimeInHrZone(int index, java.lang.Float timeInHrZone)
index
- of time_in_hr_zonetimeInHrZone
- The new timeInHrZone value to be setpublic java.lang.Float[] getTimeInSpeedZone()
public int getNumTimeInSpeedZone()
public java.lang.Float getTimeInSpeedZone(int index)
index
- of time_in_speed_zonepublic void setTimeInSpeedZone(int index, java.lang.Float timeInSpeedZone)
index
- of time_in_speed_zonetimeInSpeedZone
- The new timeInSpeedZone value to be setpublic java.lang.Float[] getTimeInCadenceZone()
public int getNumTimeInCadenceZone()
public java.lang.Float getTimeInCadenceZone(int index)
index
- of time_in_cadence_zonepublic void setTimeInCadenceZone(int index, java.lang.Float timeInCadenceZone)
index
- of time_in_cadence_zonetimeInCadenceZone
- The new timeInCadenceZone value to be setpublic java.lang.Float[] getTimeInPowerZone()
public int getNumTimeInPowerZone()
public java.lang.Float getTimeInPowerZone(int index)
index
- of time_in_power_zonepublic void setTimeInPowerZone(int index, java.lang.Float timeInPowerZone)
index
- of time_in_power_zonetimeInPowerZone
- The new timeInPowerZone value to be setpublic java.lang.Short[] getHrZoneHighBoundary()
public int getNumHrZoneHighBoundary()
public java.lang.Short getHrZoneHighBoundary(int index)
index
- of hr_zone_high_boundarypublic void setHrZoneHighBoundary(int index, java.lang.Short hrZoneHighBoundary)
index
- of hr_zone_high_boundaryhrZoneHighBoundary
- The new hrZoneHighBoundary value to be setpublic java.lang.Float[] getSpeedZoneHighBoundary()
public int getNumSpeedZoneHighBoundary()
public java.lang.Float getSpeedZoneHighBoundary(int index)
index
- of speed_zone_high_boundarypublic void setSpeedZoneHighBoundary(int index, java.lang.Float speedZoneHighBoundary)
index
- of speed_zone_high_boundaryspeedZoneHighBoundary
- The new speedZoneHighBoundary value to be setpublic java.lang.Short[] getCadenceZoneHighBondary()
public int getNumCadenceZoneHighBondary()
public java.lang.Short getCadenceZoneHighBondary(int index)
index
- of cadence_zone_high_bondarypublic void setCadenceZoneHighBondary(int index, java.lang.Short cadenceZoneHighBondary)
index
- of cadence_zone_high_bondarycadenceZoneHighBondary
- The new cadenceZoneHighBondary value to be setpublic java.lang.Integer[] getPowerZoneHighBoundary()
public int getNumPowerZoneHighBoundary()
public java.lang.Integer getPowerZoneHighBoundary(int index)
index
- of power_zone_high_boundarypublic void setPowerZoneHighBoundary(int index, java.lang.Integer powerZoneHighBoundary)
index
- of power_zone_high_boundarypowerZoneHighBoundary
- The new powerZoneHighBoundary value to be setpublic HrZoneCalc getHrCalcType()
public void setHrCalcType(HrZoneCalc hrCalcType)
hrCalcType
- The new hrCalcType value to be setpublic java.lang.Short getMaxHeartRate()
public void setMaxHeartRate(java.lang.Short maxHeartRate)
maxHeartRate
- The new maxHeartRate value to be setpublic java.lang.Short getRestingHeartRate()
public void setRestingHeartRate(java.lang.Short restingHeartRate)
restingHeartRate
- The new restingHeartRate value to be setpublic java.lang.Short getThresholdHeartRate()
public void setThresholdHeartRate(java.lang.Short thresholdHeartRate)
thresholdHeartRate
- The new thresholdHeartRate value to be setpublic PwrZoneCalc getPwrCalcType()
public void setPwrCalcType(PwrZoneCalc pwrCalcType)
pwrCalcType
- The new pwrCalcType value to be setpublic java.lang.Integer getFunctionalThresholdPower()
public void setFunctionalThresholdPower(java.lang.Integer functionalThresholdPower)
functionalThresholdPower
- The new functionalThresholdPower value to be set