SYFuelConsumptionData Class Reference

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

#import <SYConsumptionCurve.h>

Inheritance diagram for SYFuelConsumptionData:
Collaboration diagram for SYFuelConsumptionData:

Instance Methods

(nonnull instancetype) - initWithSpeed:consumption:
 Init the object representing consumption while driving with the specified speed (km/h). More...
 

Properties

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...
 

Detailed Description

Represents consumption at the given vehicle speed.

Method Documentation

◆ initWithSpeed:consumption:

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

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

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 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: