C# 클래스 SimShift.Models.GenericDrivetrain

상속: IDrivetrain
파일 보기 프로젝트 열기: nlhans/SimShift

공개 메소드들

메소드 설명
ApplyParameter ( IniValueObject obj ) : void
CalculateFuelConsumption ( double rpm, double throttle ) : double
CalculateMaxPower ( ) : double
CalculatePower ( double rpm, double throttle ) : double
CalculateRpmForSpeed ( int gear, float speed ) : double
CalculateSpeedForRpm ( int gear, float rpm ) : double
CalculateThrottleByPower ( double rpm, double powerRequired ) : double
CalculateThrottleByTorque ( double rpm, double torque ) : double
CalculateTorqueN ( double rpm ) : double
CalculateTorqueP ( double rpm, double throttle ) : double
ExportParameters ( ) : IEnumerable
GenericDrivetrain ( ) : System.Collections.Generic
GotDamage ( float damage ) : bool
ResetParameters ( ) : void

메소드 상세

ApplyParameter() 공개 메소드

public ApplyParameter ( IniValueObject obj ) : void
obj SimShift.Utils.IniValueObject
리턴 void

CalculateFuelConsumption() 공개 메소드

public CalculateFuelConsumption ( double rpm, double throttle ) : double
rpm double
throttle double
리턴 double

CalculateMaxPower() 공개 메소드

public CalculateMaxPower ( ) : double
리턴 double

CalculatePower() 공개 메소드

public CalculatePower ( double rpm, double throttle ) : double
rpm double
throttle double
리턴 double

CalculateRpmForSpeed() 공개 메소드

public CalculateRpmForSpeed ( int gear, float speed ) : double
gear int
speed float
리턴 double

CalculateSpeedForRpm() 공개 메소드

public CalculateSpeedForRpm ( int gear, float rpm ) : double
gear int
rpm float
리턴 double

CalculateThrottleByPower() 공개 메소드

public CalculateThrottleByPower ( double rpm, double powerRequired ) : double
rpm double
powerRequired double
리턴 double

CalculateThrottleByTorque() 공개 메소드

public CalculateThrottleByTorque ( double rpm, double torque ) : double
rpm double
torque double
리턴 double

CalculateTorqueN() 공개 메소드

public CalculateTorqueN ( double rpm ) : double
rpm double
리턴 double

CalculateTorqueP() 공개 메소드

public CalculateTorqueP ( double rpm, double throttle ) : double
rpm double
throttle double
리턴 double

ExportParameters() 공개 메소드

public ExportParameters ( ) : IEnumerable
리턴 IEnumerable

GenericDrivetrain() 공개 메소드

public GenericDrivetrain ( ) : System.Collections.Generic
리턴 System.Collections.Generic

GotDamage() 공개 메소드

public GotDamage ( float damage ) : bool
damage float
리턴 bool

ResetParameters() 공개 메소드

public ResetParameters ( ) : void
리턴 void