C# 클래스 SimShift.Services.Transmission

Automatic shifter for vehicles. Support 1 reverse and up to 24 reverse gears using 6-speed 4-range gearbox. Uses pre-calculated 2-dimensional shifter table that maps speed and throttle position to gear.
상속: IControlChainObj, IConfigurable
파일 보기 프로젝트 열기: nlhans/SimShift 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ActiveShiftPatternStr string
Gears int
RangeSize int
ShiftFrame int
ShiftPatterns ShiftPattern>.Dictionary
StaticMass float
configuration SimShift.Entities.ShifterTableConfiguration

공개 메소드들

메소드 설명
ApplyParameter ( IniValueObject obj ) : void
ExportParameters ( ) : IEnumerable
GetAxis ( JoyControls c, double val ) : double
GetButton ( JoyControls c, bool val ) : bool
LoadShiftPatterns ( List patterns ) : void
RecalcTable ( ) : void
Requires ( JoyControls c ) : bool
ResetParameters ( ) : void
Shift ( int fromGear, int toGear, string style ) : void
TickControls ( ) : void
TickTelemetry ( IDataMiner data ) : void
Transmission ( ) : System

비공개 메소드들

메소드 설명
GetRangeButton ( int r ) : bool
GetShiftButton ( int b ) : bool
LoadShiftPattern ( string pattern, string file ) : void

메소드 상세

ApplyParameter() 공개 메소드

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

ExportParameters() 공개 메소드

public ExportParameters ( ) : IEnumerable
리턴 IEnumerable

GetAxis() 공개 메소드

public GetAxis ( JoyControls c, double val ) : double
c JoyControls
val double
리턴 double

GetButton() 공개 메소드

public GetButton ( JoyControls c, bool val ) : bool
c JoyControls
val bool
리턴 bool

LoadShiftPatterns() 공개 메소드

public LoadShiftPatterns ( List patterns ) : void
patterns List
리턴 void

RecalcTable() 공개 메소드

public RecalcTable ( ) : void
리턴 void

Requires() 공개 메소드

public Requires ( JoyControls c ) : bool
c JoyControls
리턴 bool

ResetParameters() 공개 메소드

public ResetParameters ( ) : void
리턴 void

Shift() 공개 메소드

public Shift ( int fromGear, int toGear, string style ) : void
fromGear int
toGear int
style string
리턴 void

TickControls() 공개 메소드

public TickControls ( ) : void
리턴 void

TickTelemetry() 공개 메소드

public TickTelemetry ( IDataMiner data ) : void
data IDataMiner
리턴 void

Transmission() 공개 메소드

public Transmission ( ) : System
리턴 System

프로퍼티 상세

ActiveShiftPatternStr 공개적으로 프로퍼티

public string ActiveShiftPatternStr
리턴 string

Gears 공개적으로 프로퍼티

public int Gears
리턴 int

RangeSize 공개적으로 프로퍼티

public int RangeSize
리턴 int

ShiftFrame 공개적으로 프로퍼티

public int ShiftFrame
리턴 int

ShiftPatterns 공개적으로 프로퍼티

public Dictionary ShiftPatterns
리턴 ShiftPattern>.Dictionary

StaticMass 공개적으로 프로퍼티

public float StaticMass
리턴 float

configuration 공개적으로 프로퍼티

public ShifterTableConfiguration,SimShift.Entities configuration
리턴 SimShift.Entities.ShifterTableConfiguration