com.garmin.fit
Class DiveSettingsMesg

java.lang.Object
  extended by com.garmin.fit.Mesg
      extended by com.garmin.fit.DiveSettingsMesg

public class DiveSettingsMesg
extends Mesg


Field Summary
static int ApneaCountdownEnabledFieldNum
           
static int ApneaCountdownTimeFieldNum
           
static int BacklightBrightnessFieldNum
           
static int BacklightModeFieldNum
           
static int BacklightTimeoutFieldNum
           
static int BottomDepthFieldNum
           
static int BottomTimeFieldNum
           
protected static Mesg diveSettingsMesg
           
static int GfHighFieldNum
           
static int GfLowFieldNum
           
static int HeartRateSourceFieldNum
           
static int HeartRateSourceTypeFieldNum
           
static int MessageIndexFieldNum
           
static int ModelFieldNum
           
static int NameFieldNum
           
static int Po2CriticalFieldNum
           
static int Po2DecoFieldNum
           
static int Po2WarnFieldNum
           
static int RepeatDiveIntervalFieldNum
           
static int SafetyStopEnabledFieldNum
           
static int SafetyStopTimeFieldNum
           
static int WaterDensityFieldNum
           
static int WaterTypeFieldNum
           
 
Fields inherited from class com.garmin.fit.Mesg
developerFields, fields, localNum, name, num, systemTimeOffset
 
Constructor Summary
DiveSettingsMesg()
           
DiveSettingsMesg(Mesg mesg)
           
 
Method Summary
 Bool getApneaCountdownEnabled()
          Get apnea_countdown_enabled field
 java.lang.Long getApneaCountdownTime()
          Get apnea_countdown_time field
 java.lang.Short getBacklightBrightness()
          Get backlight_brightness field
 DiveBacklightMode getBacklightMode()
          Get backlight_mode field
 java.lang.Short getBacklightTimeout()
          Get backlight_timeout field
 java.lang.Float getBottomDepth()
          Get bottom_depth field
 java.lang.Long getBottomTime()
          Get bottom_time field
 java.lang.Short getGfHigh()
          Get gf_high field Units: percent
 java.lang.Short getGfLow()
          Get gf_low field Units: percent
 java.lang.Short getHeartRateAntplusDeviceType()
          Get heart_rate_antplus_device_type field
 java.lang.Short getHeartRateLocalDeviceType()
          Get heart_rate_local_device_type field
 java.lang.Short getHeartRateSource()
          Get heart_rate_source field
 SourceType getHeartRateSourceType()
          Get heart_rate_source_type field
 java.lang.Integer getMessageIndex()
          Get message_index field
 TissueModelType getModel()
          Get model field
 java.lang.String getName()
          Get name field
 java.lang.Float getPo2Critical()
          Get po2_critical field Units: percent Comment: Typically 1.60
 java.lang.Float getPo2Deco()
          Get po2_deco field Units: percent
 java.lang.Float getPo2Warn()
          Get po2_warn field Units: percent Comment: Typically 1.40
 java.lang.Integer getRepeatDiveInterval()
          Get repeat_dive_interval field Units: s Comment: Time between surfacing and ending the activity
 Bool getSafetyStopEnabled()
          Get safety_stop_enabled field
 java.lang.Integer getSafetyStopTime()
          Get safety_stop_time field Units: s Comment: Time at safety stop (if enabled)
 java.lang.Float getWaterDensity()
          Get water_density field Units: kg/m^3 Comment: Fresh water is usually 1000; salt water is usually 1025
 WaterType getWaterType()
          Get water_type field
 void setApneaCountdownEnabled(Bool apneaCountdownEnabled)
          Set apnea_countdown_enabled field
 void setApneaCountdownTime(java.lang.Long apneaCountdownTime)
          Set apnea_countdown_time field
 void setBacklightBrightness(java.lang.Short backlightBrightness)
          Set backlight_brightness field
 void setBacklightMode(DiveBacklightMode backlightMode)
          Set backlight_mode field
 void setBacklightTimeout(java.lang.Short backlightTimeout)
          Set backlight_timeout field
 void setBottomDepth(java.lang.Float bottomDepth)
          Set bottom_depth field
 void setBottomTime(java.lang.Long bottomTime)
          Set bottom_time field
 void setGfHigh(java.lang.Short gfHigh)
          Set gf_high field Units: percent
 void setGfLow(java.lang.Short gfLow)
          Set gf_low field Units: percent
 void setHeartRateAntplusDeviceType(java.lang.Short heartRateAntplusDeviceType)
          Set heart_rate_antplus_device_type field
 void setHeartRateLocalDeviceType(java.lang.Short heartRateLocalDeviceType)
          Set heart_rate_local_device_type field
 void setHeartRateSource(java.lang.Short heartRateSource)
          Set heart_rate_source field
 void setHeartRateSourceType(SourceType heartRateSourceType)
          Set heart_rate_source_type field
 void setMessageIndex(java.lang.Integer messageIndex)
          Set message_index field
 void setModel(TissueModelType model)
          Set model field
 void setName(java.lang.String name)
          Set name field
 void setPo2Critical(java.lang.Float po2Critical)
          Set po2_critical field Units: percent Comment: Typically 1.60
 void setPo2Deco(java.lang.Float po2Deco)
          Set po2_deco field Units: percent
 void setPo2Warn(java.lang.Float po2Warn)
          Set po2_warn field Units: percent Comment: Typically 1.40
 void setRepeatDiveInterval(java.lang.Integer repeatDiveInterval)
          Set repeat_dive_interval field Units: s Comment: Time between surfacing and ending the activity
 void setSafetyStopEnabled(Bool safetyStopEnabled)
          Set safety_stop_enabled field
 void setSafetyStopTime(java.lang.Integer safetyStopTime)
          Set safety_stop_time field Units: s Comment: Time at safety stop (if enabled)
 void setWaterDensity(java.lang.Float waterDensity)
          Set water_density field Units: kg/m^3 Comment: Fresh water is usually 1000; salt water is usually 1025
 void setWaterType(WaterType waterType)
          Set water_type field
 
Methods inherited from class com.garmin.fit.Mesg
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, getNum, getNumFields, getNumFieldValues, getNumFieldValues, getNumFieldValues, getNumFieldValues, getOverrideField, hasField, removeExpandedFields, removeField, setField, setFields, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setLocalNum, timestampToDateTime, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MessageIndexFieldNum

public static final int MessageIndexFieldNum
See Also:
Constant Field Values

NameFieldNum

public static final int NameFieldNum
See Also:
Constant Field Values

ModelFieldNum

public static final int ModelFieldNum
See Also:
Constant Field Values

GfLowFieldNum

public static final int GfLowFieldNum
See Also:
Constant Field Values

GfHighFieldNum

public static final int GfHighFieldNum
See Also:
Constant Field Values

WaterTypeFieldNum

public static final int WaterTypeFieldNum
See Also:
Constant Field Values

WaterDensityFieldNum

public static final int WaterDensityFieldNum
See Also:
Constant Field Values

Po2WarnFieldNum

public static final int Po2WarnFieldNum
See Also:
Constant Field Values

Po2CriticalFieldNum

public static final int Po2CriticalFieldNum
See Also:
Constant Field Values

Po2DecoFieldNum

public static final int Po2DecoFieldNum
See Also:
Constant Field Values

SafetyStopEnabledFieldNum

public static final int SafetyStopEnabledFieldNum
See Also:
Constant Field Values

BottomDepthFieldNum

public static final int BottomDepthFieldNum
See Also:
Constant Field Values

BottomTimeFieldNum

public static final int BottomTimeFieldNum
See Also:
Constant Field Values

ApneaCountdownEnabledFieldNum

public static final int ApneaCountdownEnabledFieldNum
See Also:
Constant Field Values

ApneaCountdownTimeFieldNum

public static final int ApneaCountdownTimeFieldNum
See Also:
Constant Field Values

BacklightModeFieldNum

public static final int BacklightModeFieldNum
See Also:
Constant Field Values

BacklightBrightnessFieldNum

public static final int BacklightBrightnessFieldNum
See Also:
Constant Field Values

BacklightTimeoutFieldNum

public static final int BacklightTimeoutFieldNum
See Also:
Constant Field Values

RepeatDiveIntervalFieldNum

public static final int RepeatDiveIntervalFieldNum
See Also:
Constant Field Values

SafetyStopTimeFieldNum

public static final int SafetyStopTimeFieldNum
See Also:
Constant Field Values

HeartRateSourceTypeFieldNum

public static final int HeartRateSourceTypeFieldNum
See Also:
Constant Field Values

HeartRateSourceFieldNum

public static final int HeartRateSourceFieldNum
See Also:
Constant Field Values

diveSettingsMesg

protected static final Mesg diveSettingsMesg
Constructor Detail

DiveSettingsMesg

public DiveSettingsMesg()

DiveSettingsMesg

public DiveSettingsMesg(Mesg mesg)
Method Detail

getMessageIndex

public java.lang.Integer getMessageIndex()
Get message_index field

Returns:
message_index

setMessageIndex

public void setMessageIndex(java.lang.Integer messageIndex)
Set message_index field

Parameters:
messageIndex -

getName

public java.lang.String getName()
Get name field

Overrides:
getName in class Mesg
Returns:
name

setName

public void setName(java.lang.String name)
Set name field

Parameters:
name -

getModel

public TissueModelType getModel()
Get model field

Returns:
model

setModel

public void setModel(TissueModelType model)
Set model field

Parameters:
model -

getGfLow

public java.lang.Short getGfLow()
Get gf_low field Units: percent

Returns:
gf_low

setGfLow

public void setGfLow(java.lang.Short gfLow)
Set gf_low field Units: percent

Parameters:
gfLow -

getGfHigh

public java.lang.Short getGfHigh()
Get gf_high field Units: percent

Returns:
gf_high

setGfHigh

public void setGfHigh(java.lang.Short gfHigh)
Set gf_high field Units: percent

Parameters:
gfHigh -

getWaterType

public WaterType getWaterType()
Get water_type field

Returns:
water_type

setWaterType

public void setWaterType(WaterType waterType)
Set water_type field

Parameters:
waterType -

getWaterDensity

public java.lang.Float getWaterDensity()
Get water_density field Units: kg/m^3 Comment: Fresh water is usually 1000; salt water is usually 1025

Returns:
water_density

setWaterDensity

public void setWaterDensity(java.lang.Float waterDensity)
Set water_density field Units: kg/m^3 Comment: Fresh water is usually 1000; salt water is usually 1025

Parameters:
waterDensity -

getPo2Warn

public java.lang.Float getPo2Warn()
Get po2_warn field Units: percent Comment: Typically 1.40

Returns:
po2_warn

setPo2Warn

public void setPo2Warn(java.lang.Float po2Warn)
Set po2_warn field Units: percent Comment: Typically 1.40

Parameters:
po2Warn -

getPo2Critical

public java.lang.Float getPo2Critical()
Get po2_critical field Units: percent Comment: Typically 1.60

Returns:
po2_critical

setPo2Critical

public void setPo2Critical(java.lang.Float po2Critical)
Set po2_critical field Units: percent Comment: Typically 1.60

Parameters:
po2Critical -

getPo2Deco

public java.lang.Float getPo2Deco()
Get po2_deco field Units: percent

Returns:
po2_deco

setPo2Deco

public void setPo2Deco(java.lang.Float po2Deco)
Set po2_deco field Units: percent

Parameters:
po2Deco -

getSafetyStopEnabled

public Bool getSafetyStopEnabled()
Get safety_stop_enabled field

Returns:
safety_stop_enabled

setSafetyStopEnabled

public void setSafetyStopEnabled(Bool safetyStopEnabled)
Set safety_stop_enabled field

Parameters:
safetyStopEnabled -

getBottomDepth

public java.lang.Float getBottomDepth()
Get bottom_depth field

Returns:
bottom_depth

setBottomDepth

public void setBottomDepth(java.lang.Float bottomDepth)
Set bottom_depth field

Parameters:
bottomDepth -

getBottomTime

public java.lang.Long getBottomTime()
Get bottom_time field

Returns:
bottom_time

setBottomTime

public void setBottomTime(java.lang.Long bottomTime)
Set bottom_time field

Parameters:
bottomTime -

getApneaCountdownEnabled

public Bool getApneaCountdownEnabled()
Get apnea_countdown_enabled field

Returns:
apnea_countdown_enabled

setApneaCountdownEnabled

public void setApneaCountdownEnabled(Bool apneaCountdownEnabled)
Set apnea_countdown_enabled field

Parameters:
apneaCountdownEnabled -

getApneaCountdownTime

public java.lang.Long getApneaCountdownTime()
Get apnea_countdown_time field

Returns:
apnea_countdown_time

setApneaCountdownTime

public void setApneaCountdownTime(java.lang.Long apneaCountdownTime)
Set apnea_countdown_time field

Parameters:
apneaCountdownTime -

getBacklightMode

public DiveBacklightMode getBacklightMode()
Get backlight_mode field

Returns:
backlight_mode

setBacklightMode

public void setBacklightMode(DiveBacklightMode backlightMode)
Set backlight_mode field

Parameters:
backlightMode -

getBacklightBrightness

public java.lang.Short getBacklightBrightness()
Get backlight_brightness field

Returns:
backlight_brightness

setBacklightBrightness

public void setBacklightBrightness(java.lang.Short backlightBrightness)
Set backlight_brightness field

Parameters:
backlightBrightness -

getBacklightTimeout

public java.lang.Short getBacklightTimeout()
Get backlight_timeout field

Returns:
backlight_timeout

setBacklightTimeout

public void setBacklightTimeout(java.lang.Short backlightTimeout)
Set backlight_timeout field

Parameters:
backlightTimeout -

getRepeatDiveInterval

public java.lang.Integer getRepeatDiveInterval()
Get repeat_dive_interval field Units: s Comment: Time between surfacing and ending the activity

Returns:
repeat_dive_interval

setRepeatDiveInterval

public void setRepeatDiveInterval(java.lang.Integer repeatDiveInterval)
Set repeat_dive_interval field Units: s Comment: Time between surfacing and ending the activity

Parameters:
repeatDiveInterval -

getSafetyStopTime

public java.lang.Integer getSafetyStopTime()
Get safety_stop_time field Units: s Comment: Time at safety stop (if enabled)

Returns:
safety_stop_time

setSafetyStopTime

public void setSafetyStopTime(java.lang.Integer safetyStopTime)
Set safety_stop_time field Units: s Comment: Time at safety stop (if enabled)

Parameters:
safetyStopTime -

getHeartRateSourceType

public SourceType getHeartRateSourceType()
Get heart_rate_source_type field

Returns:
heart_rate_source_type

setHeartRateSourceType

public void setHeartRateSourceType(SourceType heartRateSourceType)
Set heart_rate_source_type field

Parameters:
heartRateSourceType -

getHeartRateSource

public java.lang.Short getHeartRateSource()
Get heart_rate_source field

Returns:
heart_rate_source

setHeartRateSource

public void setHeartRateSource(java.lang.Short heartRateSource)
Set heart_rate_source field

Parameters:
heartRateSource -

getHeartRateAntplusDeviceType

public java.lang.Short getHeartRateAntplusDeviceType()
Get heart_rate_antplus_device_type field

Returns:
heart_rate_antplus_device_type

setHeartRateAntplusDeviceType

public void setHeartRateAntplusDeviceType(java.lang.Short heartRateAntplusDeviceType)
Set heart_rate_antplus_device_type field

Parameters:
heartRateAntplusDeviceType -

getHeartRateLocalDeviceType

public java.lang.Short getHeartRateLocalDeviceType()
Get heart_rate_local_device_type field

Returns:
heart_rate_local_device_type

setHeartRateLocalDeviceType

public void setHeartRateLocalDeviceType(java.lang.Short heartRateLocalDeviceType)
Set heart_rate_local_device_type field

Parameters:
heartRateLocalDeviceType -