SYBatteryConsumptionData Class Reference

Represents battery consumption at the given vehicle speed. More...

#import <SYEVProfile.h>

Inheritance diagram for SYBatteryConsumptionData:
Collaboration diagram for SYBatteryConsumptionData:

Instance Methods

(nonnull instancetype) - initWithSpeed:consumption:
 Init the object representing battery consumption (kWh/km) while driving with the specified speed (km/h). More...
 
((unavailable("Use init with parameters.") - __attribute__
 

Class Methods

((unavailable("Use init with parameters.") + __attribute__
 

Properties

SYSpeed speed
 Vehicle speed in km/h, for which the consumption value is valid. More...
 
double consumption
 Consumption value in kWh/km, kilowatt-hours consumed by the engine per one kilometer of driving with the specified speed. More...
 

Detailed Description

Represents battery consumption at the given vehicle speed.

Method Documentation

◆ initWithSpeed:consumption:

- (nonnull instancetype) initWithSpeed: (SYSpeed)  speed
consumption: (double)  consumption 

Init the object representing battery consumption (kWh/km) while driving with the specified speed (km/h).

◆ __attribute__ [1/2]

- ((unavailable("Use init with parameters.") __attribute__

◆ __attribute__ [2/2]

+ ((unavailable("Use init with parameters.") __attribute__

Property Documentation

◆ speed

- (SYSpeed) speed
readwritenonatomicassign

Vehicle speed in km/h, for which the consumption value is valid.

◆ consumption

- (double) consumption
readwritenonatomicassign

Consumption value in kWh/km, kilowatt-hours consumed by the engine per one kilometer of driving with the specified speed.


The documentation for this class was generated from the following file: