public class GearStatus extends RPCStruct
Parameter List
| Param Name | Type | Description | Required | Version Available |
|---|---|---|---|---|
| userSelectedGear | PRNDL | Gear position selected by the user i.e. Park, Drive, Reverse | N | |
| actualGear | PRNDL | Actual Gear in use by the transmission | N | |
| transmissionType | TransmissionType | Tells the transmission type | N |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_ACTUAL_GEAR |
static String |
KEY_TRANSMISSION_TYPE |
static String |
KEY_USER_SELECTED_GEAR |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
GearStatus()
Constructs a newly allocated GearStatus object
|
GearStatus(Hashtable<String,Object> hash)
Constructs a new GearStatus object indicated by the Hashtable parameter
|
| Modifier and Type | Method and Description |
|---|---|
PRNDL |
getActualGear()
Gets the actualGear.
|
TransmissionType |
getTransmissionType()
Gets the transmissionType.
|
PRNDL |
getUserSelectedGear()
Gets the userSelectedGear.
|
GearStatus |
setActualGear(PRNDL actualGear)
Sets the actualGear.
|
GearStatus |
setTransmissionType(TransmissionType transmissionType)
Sets the transmissionType.
|
GearStatus |
setUserSelectedGear(PRNDL selectedGear)
Sets the userSelectedGear.
|
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_USER_SELECTED_GEAR
public static final String KEY_ACTUAL_GEAR
public static final String KEY_TRANSMISSION_TYPE
public GearStatus setUserSelectedGear(PRNDL selectedGear)
selectedGear - Gear position selected by the user i.e. Park, Drive, Reversepublic PRNDL getUserSelectedGear()
public GearStatus setActualGear(PRNDL actualGear)
actualGear - Actual Gear in use by the transmissionpublic PRNDL getActualGear()
public GearStatus setTransmissionType(TransmissionType transmissionType)
transmissionType - Tells the transmission typepublic TransmissionType getTransmissionType()