C# Class SimShift.Entities.ShifterTableConfiguration

显示文件 Open project: nlhans/SimShift Class Usage Examples

Public Properties

Property Type Description
Mass float
Mode ShifterTableConfigurationDefault
SpdPerGear int
tableGear Dictionary>
tableThrottle Dictionary>

Public Methods

Method Description
DefaultByHenk ( ) : void
DefaultByOpa ( ) : void
DefaultByPeakRpm ( ) : void
DefaultByPowerEconomy ( ) : void
DefaultByPowerEfficiency ( ) : void
DefaultByPowerPerformance ( ) : void
Lookup ( double speed, double load ) : ShifterTableLookupResult
MinimumSpeedPerGear ( int minimum ) : void
RpmForSpeed ( float speed, int gear ) : double
ShifterTableConfiguration ( ShifterTableConfigurationDefault def, IDrivetrain drivetrain, int spdPerGear, float staticMass ) : System

Private Methods

Method Description
DefaultByPowerEfficiency2 ( ) : void

Method Details

DefaultByHenk() public method

public DefaultByHenk ( ) : void
return void

DefaultByOpa() public method

public DefaultByOpa ( ) : void
return void

DefaultByPeakRpm() public method

public DefaultByPeakRpm ( ) : void
return void

DefaultByPowerEconomy() public method

public DefaultByPowerEconomy ( ) : void
return void

DefaultByPowerEfficiency() public method

public DefaultByPowerEfficiency ( ) : void
return void

DefaultByPowerPerformance() public method

public DefaultByPowerPerformance ( ) : void
return void

Lookup() public method

public Lookup ( double speed, double load ) : ShifterTableLookupResult
speed double
load double
return ShifterTableLookupResult

MinimumSpeedPerGear() public method

public MinimumSpeedPerGear ( int minimum ) : void
minimum int
return void

RpmForSpeed() public method

public RpmForSpeed ( float speed, int gear ) : double
speed float
gear int
return double

ShifterTableConfiguration() public method

public ShifterTableConfiguration ( ShifterTableConfigurationDefault def, IDrivetrain drivetrain, int spdPerGear, float staticMass ) : System
def ShifterTableConfigurationDefault
drivetrain IDrivetrain
spdPerGear int
staticMass float
return System

Property Details

Mass public_oe property

public float Mass
return float

Mode public_oe property

public ShifterTableConfigurationDefault Mode
return ShifterTableConfigurationDefault

SpdPerGear public_oe property

public int SpdPerGear
return int

tableGear public_oe property

public Dictionary> tableGear
return Dictionary>

tableThrottle public_oe property

public Dictionary> tableThrottle
return Dictionary>