SYWeightFactorData Class Reference

Represents how vehicle weight changes consumption. More...

#import <SYConsumptionCurve.h>

Inheritance diagram for SYWeightFactorData:
Collaboration diagram for SYWeightFactorData:

Instance Methods

(nonnull instancetype) - initWithWeight:factor:
 

Properties

SYWeight weight
 Vehicle weight in kg which can influence vehicle consumption. More...
 
double factor
 Weight factor of given weight. Consumption at specified speed is multiplied byt this factor to adjust consumption of vehicle by weight. More...
 

Detailed Description

Represents how vehicle weight changes consumption.

Method Documentation

◆ initWithWeight:factor:

- (nonnull instancetype) initWithWeight: (SYWeight)  weight
factor: (double)  factor 

Property Documentation

◆ weight

- (SYWeight) weight
readwritenonatomicassign

Vehicle weight in kg which can influence vehicle consumption.

◆ factor

- (double) factor
readwritenonatomicassign

Weight factor of given weight. Consumption at specified speed is multiplied byt this factor to adjust consumption of vehicle by weight.


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