Represents consumption at the given vehicle speed.
More...
#import <SYConsumptionCurve.h>
|
| SYSpeed | speed |
| | Vehicle speed in km/h, for which the consumption value is valid. More...
|
| |
| double | consumption |
| | Consumption value in l/km or kWh/km consumed by the engine driving with the specified speed. More...
|
| |
Represents consumption at the given vehicle speed.
◆ initWithSpeed:consumption:
| - (nonnull instancetype) initWithSpeed: |
|
(SYSpeed) |
speed |
| consumption: |
|
(double) |
consumption |
|
|
| |
Init the object representing consumption while driving with the specified speed (km/h).
◆ speed
Vehicle speed in km/h, for which the consumption value is valid.
◆ consumption
Consumption value in l/km or kWh/km consumed by the engine driving with the specified speed.
The documentation for this class was generated from the following file: