C# Class SimShift.Models.Ets2Drivetrain

Inheritance: GenericDrivetrain
Mostrar archivo Open project: nlhans/SimShift Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ApplyParameter ( IniValueObject obj ) : void
CalculateFuelConsumption ( double rpm, double throttle ) : double
CalculatePower ( double rpm, double throttle ) : double
CalculateThrottleByTorque ( double rpm, double torque ) : double
CalculateTorqueN ( double rpm ) : double
CalculateTorqueP ( double rpm, double throttle ) : double
ExportParameters ( ) : IEnumerable
GotDamage ( float damage ) : bool
ResetParameters ( ) : void

Method Details

ApplyParameter() public method

public ApplyParameter ( IniValueObject obj ) : void
obj SimShift.Utils.IniValueObject
return void

CalculateFuelConsumption() public method

public CalculateFuelConsumption ( double rpm, double throttle ) : double
rpm double
throttle double
return double

CalculatePower() public method

public CalculatePower ( double rpm, double throttle ) : double
rpm double
throttle double
return double

CalculateThrottleByTorque() public method

public CalculateThrottleByTorque ( double rpm, double torque ) : double
rpm double
torque double
return double

CalculateTorqueN() public method

public CalculateTorqueN ( double rpm ) : double
rpm double
return double

CalculateTorqueP() public method

public CalculateTorqueP ( double rpm, double throttle ) : double
rpm double
throttle double
return double

ExportParameters() public method

public ExportParameters ( ) : IEnumerable
return IEnumerable

GotDamage() public method

public GotDamage ( float damage ) : bool
damage float
return bool

ResetParameters() public method

public ResetParameters ( ) : void
return void