blob: e6dc4d30155868b3b954afc9f12de95dc87ee6f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
package com.smartdevicelink.proxy.rpc;
import com.smartdevicelink.proxy.RPCStruct;
import com.smartdevicelink.proxy.rpc.enums.DisplayMode;
import com.smartdevicelink.proxy.rpc.enums.DistanceUnit;
import com.smartdevicelink.proxy.rpc.enums.TemperatureUnit;
import java.util.Hashtable;
/**
* Corresponds to "HMI_SETTINGS" ModuleType
*/
public class HMISettingsControlData extends RPCStruct {
public static final String KEY_DISPLAY_MODE = "displayMode";
public static final String KEY_TEMPERATURE_UNIT = "temperatureUnit";
public static final String KEY_DISTANCE_UNIT = "distanceUnit";
public HMISettingsControlData() {
}
public HMISettingsControlData(Hashtable<String, Object> hash) {
super(hash);
}
/**
* Sets the displayMode portion of the HMISettingsControlData class
*
* @param displayMode
*/
public void setDisplayMode(DisplayMode displayMode) {
setValue(KEY_DISPLAY_MODE, displayMode);
}
/**
* Gets the displayMode portion of the HMISettingsControlData class
*
* @return DisplayMode
*/
public DisplayMode getDisplayMode() {
return (DisplayMode) getObject(DisplayMode.class, KEY_DISPLAY_MODE);
}
/**
* Sets the temperatureUnit portion of the HMISettingsControlData class
*
* @param temperatureUnit
*/
public void setTemperatureUnit(TemperatureUnit temperatureUnit) {
setValue(KEY_TEMPERATURE_UNIT, temperatureUnit);
}
/**
* Gets the temperatureUnit portion of the HMISettingsControlData class
*
* @return TemperatureUnit
*/
public TemperatureUnit getTemperatureUnit() {
return (TemperatureUnit) getObject(TemperatureUnit.class, KEY_TEMPERATURE_UNIT);
}
/**
* Sets the distanceUnit portion of the HMISettingsControlData class
*
* @param distanceUnit
*/
public void setDistanceUnit(DistanceUnit distanceUnit) {
setValue(KEY_DISTANCE_UNIT, distanceUnit);
}
/**
* Gets the distanceUnit portion of the HMISettingsControlData class
*
* @return DistanceUnit
*/
public DistanceUnit getDistanceUnit() {
return (DistanceUnit) getObject(DistanceUnit.class, KEY_DISTANCE_UNIT);
}
}
|