blob: 8108203360ddfe5212bb84cf7ba94419f4887a7a (
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
|
// SDLBodyInformation.m
//
#import "SDLBodyInformation.h"
#import "SDLIgnitionStableStatus.h"
#import "SDLIgnitionStatus.h"
#import "SDLNames.h"
@implementation SDLBodyInformation
- (instancetype)init {
if (self = [super init]) {
}
return self;
}
- (instancetype)initWithDictionary:(NSMutableDictionary *)dict {
if (self = [super initWithDictionary:dict]) {
}
return self;
}
- (void)setParkBrakeActive:(NSNumber *)parkBrakeActive {
if (parkBrakeActive != nil) {
[store setObject:parkBrakeActive forKey:NAMES_parkBrakeActive];
} else {
[store removeObjectForKey:NAMES_parkBrakeActive];
}
}
- (NSNumber *)parkBrakeActive {
return [store objectForKey:NAMES_parkBrakeActive];
}
- (void)setIgnitionStableStatus:(SDLIgnitionStableStatus)ignitionStableStatus {
if (ignitionStableStatus != nil) {
[store setObject:ignitionStableStatus forKey:NAMES_ignitionStableStatus];
} else {
[store removeObjectForKey:NAMES_ignitionStableStatus];
}
}
- (SDLIgnitionStableStatus)ignitionStableStatus {
NSObject *obj = [store objectForKey:NAMES_ignitionStableStatus];
return (SDLIgnitionStableStatus)obj;
}
- (void)setIgnitionStatus:(SDLIgnitionStatus)ignitionStatus {
if (ignitionStatus != nil) {
[store setObject:ignitionStatus forKey:NAMES_ignitionStatus];
} else {
[store removeObjectForKey:NAMES_ignitionStatus];
}
}
- (SDLIgnitionStatus)ignitionStatus {
NSObject *obj = [store objectForKey:NAMES_ignitionStatus];
return (SDLIgnitionStatus)obj;
}
- (void)setDriverDoorAjar:(NSNumber *)driverDoorAjar {
if (driverDoorAjar != nil) {
[store setObject:driverDoorAjar forKey:NAMES_driverDoorAjar];
} else {
[store removeObjectForKey:NAMES_driverDoorAjar];
}
}
- (NSNumber *)driverDoorAjar {
return [store objectForKey:NAMES_driverDoorAjar];
}
- (void)setPassengerDoorAjar:(NSNumber *)passengerDoorAjar {
if (passengerDoorAjar != nil) {
[store setObject:passengerDoorAjar forKey:NAMES_passengerDoorAjar];
} else {
[store removeObjectForKey:NAMES_passengerDoorAjar];
}
}
- (NSNumber *)passengerDoorAjar {
return [store objectForKey:NAMES_passengerDoorAjar];
}
- (void)setRearLeftDoorAjar:(NSNumber *)rearLeftDoorAjar {
if (rearLeftDoorAjar != nil) {
[store setObject:rearLeftDoorAjar forKey:NAMES_rearLeftDoorAjar];
} else {
[store removeObjectForKey:NAMES_rearLeftDoorAjar];
}
}
- (NSNumber *)rearLeftDoorAjar {
return [store objectForKey:NAMES_rearLeftDoorAjar];
}
- (void)setRearRightDoorAjar:(NSNumber *)rearRightDoorAjar {
if (rearRightDoorAjar != nil) {
[store setObject:rearRightDoorAjar forKey:NAMES_rearRightDoorAjar];
} else {
[store removeObjectForKey:NAMES_rearRightDoorAjar];
}
}
- (NSNumber *)rearRightDoorAjar {
return [store objectForKey:NAMES_rearRightDoorAjar];
}
@end
|