summaryrefslogtreecommitdiff
path: root/SmartDeviceLink-iOS/SmartDeviceLink/SDLGetVehicleDataResponse.h
blob: 7d1bd2b0899852c12c92bb308e40afa7dcd512d9 (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
//  SDLGetVehicleDataResponse.h
//



#import "SDLRPCResponse.h"

#import "SDLGPSData.h"
#import "SDLComponentVolumeStatus.h"
#import "SDLPRNDL.h"
#import "SDLTireStatus.h"
#import "SDLBeltStatus.h"
#import "SDLBodyInformation.h"
#import "SDLDeviceStatus.h"
#import "SDLVehicleDataEventStatus.h"
#import "SDLWiperStatus.h"
#import "SDLHeadLampStatus.h"
#import "SDLECallInfo.h"
#import "SDLAirbagStatus.h"
#import "SDLEmergencyEvent.h"
#import "SDLClusterModeStatus.h"
#import "SDLMyKey.h"

/**
 * Get Vehicle Data Response is sent, when SDLGetVehicleData has been called
 *
 * Since SmartDeviceLink 2.0
 */
@interface SDLGetVehicleDataResponse : SDLRPCResponse {}


/**
 * @abstract Constructs a new SDLGetVehicleDataResponse object
 */
-(id) init;

/**
 * @abstract Constructs a new SDLGetVehicleDataResponse object indicated by the NSMutableDictionary
 * parameter
 * @param dict The NSMutableDictionary to use
 */
-(id) initWithDictionary:(NSMutableDictionary*) dict;


/**
 * @abstract A SDLGPSData* value. See GPSData.
 */
@property(strong) SDLGPSData* gps;

/**
 * @abstract The vehicle speed in kilometers per hour.
 */
@property(strong) NSNumber* speed;

/**
 * @abstract The number of revolutions per minute of the engine.
 */
@property(strong) NSNumber* rpm;

/**
 * @abstract The fuel level in the tank (percentage)
 */
@property(strong) NSNumber* fuelLevel;

/**
 * @abstract A SDLComponentVolumeStatus* value. The fuel level state.
 */
@property(strong) SDLComponentVolumeStatus* fuelLevel_State;

/**
 * @abstract The instantaneous fuel consumption in microlitres.
 */
@property(strong) NSNumber* instantFuelConsumption;

/**
 * @abstract The external temperature in degrees celsius.
 */
@property(strong) NSNumber* externalTemperature;

/**
 * @abstract The Vehicle Identification Number
 */
@property(strong) NSString* vin;

/**
 * @abstract See PRNDL.
 */
@property(strong) SDLPRNDL* prndl;

/**
 * @abstract A SDLTireStatus* value. See TireStatus.
 */
@property(strong) SDLTireStatus* tirePressure;

/**
 * @abstract Odometer reading in km.
 */
@property(strong) NSNumber* odometer;

/**
 * @abstract A SDLBeltStatus* value. The status of the seat belts.
 */
@property(strong) SDLBeltStatus* beltStatus;

/**
 * @abstract A SDLBodyInformation* value. The body information including power modes.
 */
@property(strong) SDLBodyInformation* bodyInformation;

/**
 * @abstract A SDLDeviceStatus* value. The device status including signal and battery strength.
 */
@property(strong) SDLDeviceStatus* deviceStatus;

/**
 * @abstract A SDLVehicleDataResult* value. The status of the brake pedal.
 */
@property(strong) SDLVehicleDataEventStatus* driverBraking;

/**
 * @abstract A SDLWiperStatus* value. The status of the wipers.
 */
@property(strong) SDLWiperStatus* wiperStatus;

/**
 * @abstract A SDLHeadLampStatus* value. Status of the head lamps.
 */
@property(strong) SDLHeadLampStatus* headLampStatus;

/**
 * @abstract Torque value for engine (in Nm) on non-diesel variants.
 */
@property(strong) NSNumber* engineTorque;

/**
 * @abstract Accelerator pedal position (percentage depressed)
 */
@property(strong) NSNumber* accPedalPosition;

/**
 * @abstract Current angle of the steering wheel (in deg)
 */
@property(strong) NSNumber* steeringWheelAngle;
@property(strong) SDLECallInfo* eCallInfo;
@property(strong) SDLAirbagStatus* airbagStatus;
@property(strong) SDLEmergencyEvent* emergencyEvent;
@property(strong) SDLClusterModeStatus* clusterModeStatus;
@property(strong) SDLMyKey* myKey;

@end