-
Notifications
You must be signed in to change notification settings - Fork 0
Timing_Load
Cyclingbob edited this page Nov 17, 2023
·
2 revisions
Timing load describes the class of train that will run that particular service.
Methods
-
functionfromCode(code, power_type)
Parameter:Stringdata (data is copied highlighted text from train category on the OpenRailData wiki (trainCategory.txt in repository))
ReturnsObjectof type and unit class/classes
String[]unit (Array of possible 3 digit code, sometimes with a slash/ to designate train variant such as 172/0)
Stringtype (describes the type of train such as diesel, electric, whether its a multiple unit or not, sometimes braking details)
Written by Cyclingbob