public class ClimateData extends RPCStruct
Parameter List
| Param Name | Type | Description | Required | Notes | Version Available |
|---|---|---|---|---|---|
| externalTemperature | Temperature | The external temperature in degrees celsius | N | ||
| cabinTemperature | Temperature | Internal ambient cabin temperature in degrees celsius | N | ||
| atmosphericPressure | Float | Current atmospheric pressure in mBar | N | {"num_min_value": 0.0, "num_max_value": 2000.0} |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_ATMOSPHERIC_PRESSURE |
static String |
KEY_CABIN_TEMPERATURE |
static String |
KEY_EXTERNAL_TEMPERATURE |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
ClimateData()
Constructs a new ClimateData object
|
ClimateData(Hashtable<String,Object> hash)
Constructs a new ClimateData object indicated by the Hashtable parameter
|
| Modifier and Type | Method and Description |
|---|---|
Float |
getAtmosphericPressure()
Gets the atmosphericPressure.
|
Temperature |
getCabinTemperature()
Gets the cabinTemperature.
|
Temperature |
getExternalTemperature()
Gets the externalTemperature.
|
ClimateData |
setAtmosphericPressure(Float atmosphericPressure)
Sets the atmosphericPressure.
|
ClimateData |
setCabinTemperature(Temperature cabinTemperature)
Sets the cabinTemperature.
|
ClimateData |
setExternalTemperature(Temperature externalTemperature)
Sets the externalTemperature.
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_EXTERNAL_TEMPERATURE
public static final String KEY_CABIN_TEMPERATURE
public static final String KEY_ATMOSPHERIC_PRESSURE
public ClimateData setExternalTemperature(Temperature externalTemperature)
externalTemperature - The external temperature in degrees celsiuspublic Temperature getExternalTemperature()
public ClimateData setCabinTemperature(Temperature cabinTemperature)
cabinTemperature - Internal ambient cabin temperature in degrees celsiuspublic Temperature getCabinTemperature()
public ClimateData setAtmosphericPressure(Float atmosphericPressure)
atmosphericPressure - Current atmospheric pressure in mBar
{"num_min_value": 0.0, "num_max_value": 2000.0}public Float getAtmosphericPressure()