com.garmin.fit
Class OneDSensorCalibrationMesg

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

public class OneDSensorCalibrationMesg
extends Mesg


Field Summary
static int CalibrationDivisorFieldNum
           
static int CalibrationFactorFieldNum
           
static int LevelShiftFieldNum
           
static int OffsetCalFieldNum
           
protected static Mesg oneDSensorCalibrationMesg
           
static int SensorTypeFieldNum
           
static int TimestampFieldNum
           
 
Fields inherited from class com.garmin.fit.Mesg
developerFields, fields, localNum, name, num, systemTimeOffset
 
Constructor Summary
OneDSensorCalibrationMesg()
           
OneDSensorCalibrationMesg(Mesg mesg)
           
 
Method Summary
 java.lang.Long getBaroCalFactor()
          Get baro_cal_factor field Units: Pa Comment: Barometer calibration factor
 java.lang.Long getCalibrationDivisor()
          Get calibration_divisor field Units: counts Comment: Calibration factor divisor
 java.lang.Long getCalibrationFactor()
          Get calibration_factor field Comment: Calibration factor used to convert from raw ADC value to degrees, g, etc.
 java.lang.Long getLevelShift()
          Get level_shift field Comment: Level shift value used to shift the ADC value back into range
 java.lang.Integer getOffsetCal()
          Get offset_cal field Comment: Internal Calibration factor
 SensorType getSensorType()
          Get sensor_type field Comment: Indicates which sensor the calibration is for
 DateTime getTimestamp()
          Get timestamp field Units: s Comment: Whole second part of the timestamp
 void setBaroCalFactor(java.lang.Long baroCalFactor)
          Set baro_cal_factor field Units: Pa Comment: Barometer calibration factor
 void setCalibrationDivisor(java.lang.Long calibrationDivisor)
          Set calibration_divisor field Units: counts Comment: Calibration factor divisor
 void setCalibrationFactor(java.lang.Long calibrationFactor)
          Set calibration_factor field Comment: Calibration factor used to convert from raw ADC value to degrees, g, etc.
 void setLevelShift(java.lang.Long levelShift)
          Set level_shift field Comment: Level shift value used to shift the ADC value back into range
 void setOffsetCal(java.lang.Integer offsetCal)
          Set offset_cal field Comment: Internal Calibration factor
 void setSensorType(SensorType sensorType)
          Set sensor_type field Comment: Indicates which sensor the calibration is for
 void setTimestamp(DateTime timestamp)
          Set timestamp field Units: s Comment: Whole second part of the timestamp
 
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, getName, 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

TimestampFieldNum

public static final int TimestampFieldNum
See Also:
Constant Field Values

SensorTypeFieldNum

public static final int SensorTypeFieldNum
See Also:
Constant Field Values

CalibrationFactorFieldNum

public static final int CalibrationFactorFieldNum
See Also:
Constant Field Values

CalibrationDivisorFieldNum

public static final int CalibrationDivisorFieldNum
See Also:
Constant Field Values

LevelShiftFieldNum

public static final int LevelShiftFieldNum
See Also:
Constant Field Values

OffsetCalFieldNum

public static final int OffsetCalFieldNum
See Also:
Constant Field Values

oneDSensorCalibrationMesg

protected static final Mesg oneDSensorCalibrationMesg
Constructor Detail

OneDSensorCalibrationMesg

public OneDSensorCalibrationMesg()

OneDSensorCalibrationMesg

public OneDSensorCalibrationMesg(Mesg mesg)
Method Detail

getTimestamp

public DateTime getTimestamp()
Get timestamp field Units: s Comment: Whole second part of the timestamp

Returns:
timestamp

setTimestamp

public void setTimestamp(DateTime timestamp)
Set timestamp field Units: s Comment: Whole second part of the timestamp

Parameters:
timestamp -

getSensorType

public SensorType getSensorType()
Get sensor_type field Comment: Indicates which sensor the calibration is for

Returns:
sensor_type

setSensorType

public void setSensorType(SensorType sensorType)
Set sensor_type field Comment: Indicates which sensor the calibration is for

Parameters:
sensorType -

getCalibrationFactor

public java.lang.Long getCalibrationFactor()
Get calibration_factor field Comment: Calibration factor used to convert from raw ADC value to degrees, g, etc.

Returns:
calibration_factor

setCalibrationFactor

public void setCalibrationFactor(java.lang.Long calibrationFactor)
Set calibration_factor field Comment: Calibration factor used to convert from raw ADC value to degrees, g, etc.

Parameters:
calibrationFactor -

getBaroCalFactor

public java.lang.Long getBaroCalFactor()
Get baro_cal_factor field Units: Pa Comment: Barometer calibration factor

Returns:
baro_cal_factor

setBaroCalFactor

public void setBaroCalFactor(java.lang.Long baroCalFactor)
Set baro_cal_factor field Units: Pa Comment: Barometer calibration factor

Parameters:
baroCalFactor -

getCalibrationDivisor

public java.lang.Long getCalibrationDivisor()
Get calibration_divisor field Units: counts Comment: Calibration factor divisor

Returns:
calibration_divisor

setCalibrationDivisor

public void setCalibrationDivisor(java.lang.Long calibrationDivisor)
Set calibration_divisor field Units: counts Comment: Calibration factor divisor

Parameters:
calibrationDivisor -

getLevelShift

public java.lang.Long getLevelShift()
Get level_shift field Comment: Level shift value used to shift the ADC value back into range

Returns:
level_shift

setLevelShift

public void setLevelShift(java.lang.Long levelShift)
Set level_shift field Comment: Level shift value used to shift the ADC value back into range

Parameters:
levelShift -

getOffsetCal

public java.lang.Integer getOffsetCal()
Get offset_cal field Comment: Internal Calibration factor

Returns:
offset_cal

setOffsetCal

public void setOffsetCal(java.lang.Integer offsetCal)
Set offset_cal field Comment: Internal Calibration factor

Parameters:
offsetCal -