C# 클래스 OpenBveApi.Runtime.VehicleState

Represents the current state of the train.
파일 보기 프로젝트 열기: leezer3/OpenBVE 1 사용 예제들

공개 메소드들

메소드 설명
VehicleState ( double location, Speed speed, double bcPressure, double mrPressure, double erPressure, double bpPressure, double sapPressure ) : System

Creates a new instance of this class.

VehicleState ( double location, Speed speed, double bcPressure, double mrPressure, double erPressure, double bpPressure, double sapPressure, double Radius, double Cant, double Pitch ) : System

Creates a new instance of this class.

메소드 상세

VehicleState() 공개 메소드

Creates a new instance of this class.
public VehicleState ( double location, Speed speed, double bcPressure, double mrPressure, double erPressure, double bpPressure, double sapPressure ) : System
location double The location of the front of the train, in meters.
speed Speed The speed of the train.
bcPressure double The pressure in the brake cylinder, in pascal.
mrPressure double The pressure in the main reservoir, in pascal.
erPressure double The pressure in the emergency reservoir, in pascal.
bpPressure double The pressure in the brake pipe, in pascal.
sapPressure double The pressure in the straight air pipe, in pascal.
리턴 System

VehicleState() 공개 메소드

Creates a new instance of this class.
public VehicleState ( double location, Speed speed, double bcPressure, double mrPressure, double erPressure, double bpPressure, double sapPressure, double Radius, double Cant, double Pitch ) : System
location double The location of the front of the train, in meters.
speed Speed The speed of the train.
bcPressure double The pressure in the brake cylinder, in pascal.
mrPressure double The pressure in the main reservoir, in pascal.
erPressure double The pressure in the emergency reservoir, in pascal.
bpPressure double The pressure in the brake pipe, in pascal.
sapPressure double The pressure in the straight air pipe, in pascal.
Radius double The curve radius at the front of the train, in meters.
Cant double The cant value for this curve radius.
Pitch double The pitch value at the front of the train.
리턴 System