summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLReadDID.m
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2016-10-20 10:18:56 -0700
committerMuller, Alexander (A.) <amulle19@ford.com>2016-10-20 10:18:56 -0700
commit3f7b58371fe706ab400bbe8fa33627d0aec362d8 (patch)
tree168d4cac663c7efe2ca0451fdf4da350aaa0a69d /SmartDeviceLink/SDLReadDID.m
parenta319ef8da9750c87737cb8c36131db9bd369288a (diff)
downloadsdl_ios-3f7b58371fe706ab400bbe8fa33627d0aec362d8.tar.gz
Initial commit of deprecated SDLRPCRequestFactory and added inits.
Diffstat (limited to 'SmartDeviceLink/SDLReadDID.m')
-rw-r--r--SmartDeviceLink/SDLReadDID.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLReadDID.m b/SmartDeviceLink/SDLReadDID.m
index 198d992e0..9720944c5 100644
--- a/SmartDeviceLink/SDLReadDID.m
+++ b/SmartDeviceLink/SDLReadDID.m
@@ -20,6 +20,14 @@
return self;
}
+- (instancetype)initWithECUName:(NSNumber *)ecuName didLocation:(NSArray *)didLocation {
+ if (self = [self init]) {
+ self.ecuName = ecuName;
+ self.didLocation = [didLocation mutableCopy];
+ }
+ return self;
+}
+
- (void)setEcuName:(NSNumber *)ecuName {
if (ecuName != nil) {
[parameters setObject:ecuName forKey:NAMES_ecuName];