From 4ce49ca20aa5b01c0dd54456600bfc434f2d11eb Mon Sep 17 00:00:00 2001 From: "leonid lokhmatov, Luxoft" Date: Mon, 3 Aug 2020 10:14:21 +0300 Subject: sdl-0257 "New vehicle data HandsOffSteering": apply review comments (p3) : update inits with the script generated source, sort properties alphabetically, update unit tests accordingly. --- SmartDeviceLink/SDLSubscribeVehicleDataResponse.m | 4 ---- 1 file changed, 4 deletions(-) (limited to 'SmartDeviceLink/SDLSubscribeVehicleDataResponse.m') diff --git a/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m b/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m index 92a2666fb..3a5119371 100644 --- a/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m +++ b/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m @@ -51,10 +51,6 @@ NS_ASSUME_NONNULL_BEGIN } #pragma clang diagnostic pop -- (instancetype)initWithAccPedalPosition:(nullable SDLVehicleDataResult *)accPedalPosition airbagStatus:(nullable SDLVehicleDataResult *)airbagStatus beltStatus:(nullable SDLVehicleDataResult *)beltStatus bodyInformation:(nullable SDLVehicleDataResult *)bodyInformation cloudAppVehicleID:(nullable SDLVehicleDataResult *)cloudAppVehicleID clusterModes:(nullable SDLVehicleDataResult *)clusterModes deviceStatus:(nullable SDLVehicleDataResult *)deviceStatus driverBraking:(nullable SDLVehicleDataResult *)driverBraking eCallInfo:(nullable SDLVehicleDataResult *)eCallInfo electronicParkBrakeStatus:(nullable SDLVehicleDataResult *)electronicParkBrakeStatus emergencyEvent:(nullable SDLVehicleDataResult *)emergencyEvent engineOilLife:(nullable SDLVehicleDataResult *)engineOilLife engineTorque:(nullable SDLVehicleDataResult *)engineTorque externalTemperature:(nullable SDLVehicleDataResult *)externalTemperature fuelLevel:(nullable SDLVehicleDataResult *)fuelLevel fuelLevel_State:(nullable SDLVehicleDataResult *)fuelLevel_State fuelRange:(nullable SDLVehicleDataResult *)fuelRange gps:(nullable SDLVehicleDataResult *)gps handsOffSteering:(nullable SDLVehicleDataResult *)handsOffSteering headLampStatus:(nullable SDLVehicleDataResult *)headLampStatus instantFuelConsumption:(nullable SDLVehicleDataResult *)instantFuelConsumption myKey:(nullable SDLVehicleDataResult *)myKey odometer:(nullable SDLVehicleDataResult *)odometer prndl:(nullable SDLVehicleDataResult *)prndl rpm:(nullable SDLVehicleDataResult *)rpm speed:(nullable SDLVehicleDataResult *)speed steeringWheelAngle:(nullable SDLVehicleDataResult *)steeringWheelAngle tirePressure:(nullable SDLVehicleDataResult *)tirePressure turnSignal:(nullable SDLVehicleDataResult *)turnSignal wiperStatus:(nullable SDLVehicleDataResult *)wiperStatus { - return [self initWithGps:gps speed:speed rpm:rpm fuelLevel:fuelLevel fuelLevel_State:fuelLevel_State instantFuelConsumption:instantFuelConsumption fuelRange:fuelRange externalTemperature:externalTemperature turnSignal:turnSignal prndl:prndl tirePressure:tirePressure odometer:odometer beltStatus:beltStatus bodyInformation:bodyInformation deviceStatus:deviceStatus driverBraking:driverBraking wiperStatus:wiperStatus headLampStatus:headLampStatus engineTorque:engineTorque accPedalPosition:accPedalPosition steeringWheelAngle:steeringWheelAngle engineOilLife:engineOilLife electronicParkBrakeStatus:electronicParkBrakeStatus cloudAppVehicleID:cloudAppVehicleID eCallInfo:eCallInfo airbagStatus:airbagStatus emergencyEvent:emergencyEvent clusterModes:clusterModes myKey:myKey handsOffSteering:handsOffSteering]; -} - - (instancetype)initWithGps:(nullable SDLVehicleDataResult *)gps speed:(nullable SDLVehicleDataResult *)speed rpm:(nullable SDLVehicleDataResult *)rpm fuelLevel:(nullable SDLVehicleDataResult *)fuelLevel fuelLevel_State:(nullable SDLVehicleDataResult *)fuelLevel_State instantFuelConsumption:(nullable SDLVehicleDataResult *)instantFuelConsumption fuelRange:(nullable SDLVehicleDataResult *)fuelRange externalTemperature:(nullable SDLVehicleDataResult *)externalTemperature turnSignal:(nullable SDLVehicleDataResult *)turnSignal prndl:(nullable SDLVehicleDataResult *)prndl tirePressure:(nullable SDLVehicleDataResult *)tirePressure odometer:(nullable SDLVehicleDataResult *)odometer beltStatus:(nullable SDLVehicleDataResult *)beltStatus bodyInformation:(nullable SDLVehicleDataResult *)bodyInformation deviceStatus:(nullable SDLVehicleDataResult *)deviceStatus driverBraking:(nullable SDLVehicleDataResult *)driverBraking wiperStatus:(nullable SDLVehicleDataResult *)wiperStatus headLampStatus:(nullable SDLVehicleDataResult *)headLampStatus engineTorque:(nullable SDLVehicleDataResult *)engineTorque accPedalPosition:(nullable SDLVehicleDataResult *)accPedalPosition steeringWheelAngle:(nullable SDLVehicleDataResult *)steeringWheelAngle engineOilLife:(nullable SDLVehicleDataResult *)engineOilLife electronicParkBrakeStatus:(nullable SDLVehicleDataResult *)electronicParkBrakeStatus cloudAppVehicleID:(nullable SDLVehicleDataResult *)cloudAppVehicleID eCallInfo:(nullable SDLVehicleDataResult *)eCallInfo airbagStatus:(nullable SDLVehicleDataResult *)airbagStatus emergencyEvent:(nullable SDLVehicleDataResult *)emergencyEvent clusterModes:(nullable SDLVehicleDataResult *)clusterModes myKey:(nullable SDLVehicleDataResult *)myKey handsOffSteering:(nullable SDLVehicleDataResult *)handsOffSteering { self = [self init]; if (!self) { -- cgit v1.2.1