public class DiveSettingsMesg extends Mesg
Modifier and Type | Field and Description |
---|---|
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 |
developerFields, fields, localNum, name, num, systemTimeOffset
Constructor and Description |
---|
DiveSettingsMesg() |
DiveSettingsMesg(Mesg mesg) |
Modifier and Type | Method and Description |
---|---|
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
|
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
public static final int MessageIndexFieldNum
public static final int NameFieldNum
public static final int ModelFieldNum
public static final int GfLowFieldNum
public static final int GfHighFieldNum
public static final int WaterTypeFieldNum
public static final int WaterDensityFieldNum
public static final int Po2WarnFieldNum
public static final int Po2CriticalFieldNum
public static final int Po2DecoFieldNum
public static final int SafetyStopEnabledFieldNum
public static final int BottomDepthFieldNum
public static final int BottomTimeFieldNum
public static final int ApneaCountdownEnabledFieldNum
public static final int ApneaCountdownTimeFieldNum
public static final int BacklightModeFieldNum
public static final int BacklightBrightnessFieldNum
public static final int BacklightTimeoutFieldNum
public static final int RepeatDiveIntervalFieldNum
public static final int SafetyStopTimeFieldNum
public static final int HeartRateSourceTypeFieldNum
public static final int HeartRateSourceFieldNum
protected static final Mesg diveSettingsMesg
public DiveSettingsMesg()
public DiveSettingsMesg(Mesg mesg)
public java.lang.Integer getMessageIndex()
public void setMessageIndex(java.lang.Integer messageIndex)
messageIndex
- The new messageIndex value to be setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- The new name value to be setpublic TissueModelType getModel()
public void setModel(TissueModelType model)
model
- The new model value to be setpublic java.lang.Short getGfLow()
public void setGfLow(java.lang.Short gfLow)
gfLow
- The new gfLow value to be setpublic java.lang.Short getGfHigh()
public void setGfHigh(java.lang.Short gfHigh)
gfHigh
- The new gfHigh value to be setpublic WaterType getWaterType()
public void setWaterType(WaterType waterType)
waterType
- The new waterType value to be setpublic java.lang.Float getWaterDensity()
public void setWaterDensity(java.lang.Float waterDensity)
waterDensity
- The new waterDensity value to be setpublic java.lang.Float getPo2Warn()
public void setPo2Warn(java.lang.Float po2Warn)
po2Warn
- The new po2Warn value to be setpublic java.lang.Float getPo2Critical()
public void setPo2Critical(java.lang.Float po2Critical)
po2Critical
- The new po2Critical value to be setpublic java.lang.Float getPo2Deco()
public void setPo2Deco(java.lang.Float po2Deco)
po2Deco
- The new po2Deco value to be setpublic Bool getSafetyStopEnabled()
public void setSafetyStopEnabled(Bool safetyStopEnabled)
safetyStopEnabled
- The new safetyStopEnabled value to be setpublic java.lang.Float getBottomDepth()
public void setBottomDepth(java.lang.Float bottomDepth)
bottomDepth
- The new bottomDepth value to be setpublic java.lang.Long getBottomTime()
public void setBottomTime(java.lang.Long bottomTime)
bottomTime
- The new bottomTime value to be setpublic Bool getApneaCountdownEnabled()
public void setApneaCountdownEnabled(Bool apneaCountdownEnabled)
apneaCountdownEnabled
- The new apneaCountdownEnabled value to be setpublic java.lang.Long getApneaCountdownTime()
public void setApneaCountdownTime(java.lang.Long apneaCountdownTime)
apneaCountdownTime
- The new apneaCountdownTime value to be setpublic DiveBacklightMode getBacklightMode()
public void setBacklightMode(DiveBacklightMode backlightMode)
backlightMode
- The new backlightMode value to be setpublic java.lang.Short getBacklightBrightness()
public void setBacklightBrightness(java.lang.Short backlightBrightness)
backlightBrightness
- The new backlightBrightness value to be setpublic java.lang.Short getBacklightTimeout()
public void setBacklightTimeout(java.lang.Short backlightTimeout)
backlightTimeout
- The new backlightTimeout value to be setpublic java.lang.Integer getRepeatDiveInterval()
public void setRepeatDiveInterval(java.lang.Integer repeatDiveInterval)
repeatDiveInterval
- The new repeatDiveInterval value to be setpublic java.lang.Integer getSafetyStopTime()
public void setSafetyStopTime(java.lang.Integer safetyStopTime)
safetyStopTime
- The new safetyStopTime value to be setpublic SourceType getHeartRateSourceType()
public void setHeartRateSourceType(SourceType heartRateSourceType)
heartRateSourceType
- The new heartRateSourceType value to be setpublic java.lang.Short getHeartRateSource()
public void setHeartRateSource(java.lang.Short heartRateSource)
heartRateSource
- The new heartRateSource value to be setpublic java.lang.Short getHeartRateAntplusDeviceType()
public void setHeartRateAntplusDeviceType(java.lang.Short heartRateAntplusDeviceType)
heartRateAntplusDeviceType
- The new heartRateAntplusDeviceType value to be setpublic java.lang.Short getHeartRateLocalDeviceType()
public void setHeartRateLocalDeviceType(java.lang.Short heartRateLocalDeviceType)
heartRateLocalDeviceType
- The new heartRateLocalDeviceType value to be set