diff options
author | Joel Fischer <joel@livioradio.com> | 2015-03-04 15:41:34 -0500 |
---|---|---|
committer | Joel Fischer <joel@livioradio.com> | 2015-03-04 16:32:21 -0500 |
commit | aea65586bb1817cfc9c6b47af273ac6498a27df6 (patch) | |
tree | 009a43eb5a0475df151df9f46951cb2222d69db6 /SmartDeviceLink-iOS/SmartDeviceLink/SDLReadDID.m | |
parent | 5f4faaa23384a4ae1f021cb65e11b2f01200e872 (diff) | |
parent | 483e2b0a7bf15f1e62fbfa8fb65844b93b2b3909 (diff) | |
download | sdl_ios-aea65586bb1817cfc9c6b47af273ac6498a27df6.tar.gz |
Merge branch 'feature/cocoapods-distribution' into develop
Conflicts:
SmartDeviceLink-iOS/SmartDeviceLink/SDLAddCommand.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLAirbagStatus.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLAudioPassThruCapabilities.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLBeltStatus.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLBodyInformation.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLButtonCapabilities.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLChangeRegistration.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLChoice.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLClusterModeStatus.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLDIDResult.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLDeviceStatus.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLDisplayCapabilities.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLECallInfo.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLEmergencyEvent.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLGPSData.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLGetVehicleDataResponse.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLHeadLampStatus.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLImage.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLImageField.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLKeyboardProperties.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLLockScreenManager.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLLockScreenStatus.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLMyKey.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnAppInterfaceUnregistered.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnButtonEvent.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnButtonPress.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnCommand.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnDriverDistraction.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnHMIStatus.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnKeyboardInput.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnLanguageChange.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnLockScreenStatus.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnSystemRequest.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnTBTClientState.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnTouchEvent.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLOnVehicleData.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLPerformAudioPassThru.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLPerformInteraction.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLPerformInteractionResponse.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLPermissionItem.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLProxyListener.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLPutFile.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLRPCRequestFactory.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLRPCResponse.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLRegisterAppInterface.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLRegisterAppInterfaceResponse.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLScreenParams.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLSetDisplayLayoutResponse.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLSetGlobalProperties.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLSetMediaClockTimer.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLShow.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLShowConstantTBT.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLSingleTireStatus.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLSoftButton.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLSubscribeButton.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLSubscribeVehicleDataResponse.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLSystemRequest.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLTTSChunk.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLTTSChunkFactory.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLTextField.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLTireStatus.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLTurn.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLUnsubscribeButton.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLUnsubscribeVehicleDataResponse.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLVehicleDataResult.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLVrHelpItem.h
Diffstat (limited to 'SmartDeviceLink-iOS/SmartDeviceLink/SDLReadDID.m')
-rw-r--r-- | SmartDeviceLink-iOS/SmartDeviceLink/SDLReadDID.m | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/SmartDeviceLink-iOS/SmartDeviceLink/SDLReadDID.m b/SmartDeviceLink-iOS/SmartDeviceLink/SDLReadDID.m new file mode 100644 index 000000000..ec840b752 --- /dev/null +++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLReadDID.m @@ -0,0 +1,45 @@ +// SDLReadDID.m +// +// Copyright (c) 2014 Ford Motor Company. All rights reserved. + +#import "SDLReadDID.h" + +#import "SDLNames.h" + +@implementation SDLReadDID + +-(id) init { + if (self = [super initWithName:NAMES_ReadDID]) {} + return self; +} + +-(id) initWithDictionary:(NSMutableDictionary*) dict { + if (self = [super initWithDictionary:dict]) {} + return self; +} + +-(void) setEcuName:(NSNumber*) ecuName { + if (ecuName != nil) { + [parameters setObject:ecuName forKey:NAMES_ecuName]; + } else { + [parameters removeObjectForKey:NAMES_ecuName]; + } +} + +-(NSNumber*) ecuName { + return [parameters objectForKey:NAMES_ecuName]; +} + +-(void) setDidLocation:(NSMutableArray*) didLocation { + if (didLocation != nil) { + [parameters setObject:didLocation forKey:NAMES_didLocation]; + } else { + [parameters removeObjectForKey:NAMES_didLocation]; + } +} + +-(NSMutableArray*) didLocation { + return [parameters objectForKey:NAMES_didLocation]; +} + +@end |