StabledTrains: Difference between revisions

From SignalWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
:(int)  
:(int)  
:A reference to the a train defined in the TimeTable table. Such a reference is used to refer to information in that table that is not available in the StabledTrains table (days on which the train runs, for example).
:A reference to the a train defined in the TimeTable table. Such a reference is used to refer to information in that table that is not available in the StabledTrains table (days on which the train runs, for example).
;SteeringID
:(string)
:''(optional)''
:The steering number, if defined, for this train. When omitted, steering ID of "0" is used.


;Direction
;Direction

Revision as of 19:31, 31 January 2012

Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers



Page is under construction. Information is subject to change.


ID
(int)
Automatically incremented.
TrainID
(string)
The name of the train used within the simulation.
LinkToTrainID
(int)
A reference to the a train defined in the TimeTable table. Such a reference is used to refer to information in that table that is not available in the StabledTrains table (days on which the train runs, for example).
SteeringID
(string)
(optional)
The steering number, if defined, for this train. When omitted, steering ID of "0" is used.
Direction
(int)
Defines the direction the train faces when initially created.
0 - Left
1 - Right
PhysicsID
(int)
Reference to a row in the TrainTypes table. Defines physical and mechanical properties of the train.
ConsistTemplate
(int)
Reference to a row in the ConsistTemplates table. Defines rollingstock for the train.
StationID
(string)
When the timetable has multiple stations defined, this field indicates to which station the stabled train belongs.
TrackID
(string)
Defines the name of the track onto which the train is placed. The train must fit on this track or will not be loaded.
TrackPosition
(int)
Defines the distance from the left-most insulation joint of the track to the train. The train must fit on this track or will not be loaded.
StartTime
(DateTime)
Only the time portion of the DateTime is used (the date portion is ignored).
Defines the starting time of when a stabled train will appear when starting a new simulation. If a simulation starts before this time, the stabled train is not created.
EndTime
(DateTime)
Only the time portion of the DateTime is used (the date portion is ignored).
Defines the ending time of when a stabled train will appear when starting a new simulation. If a simulation starts after this time, the stabled train is not created.
IsStaffed
(bool)
True when the train is initially staffed with a driver.
StartAtMovementOrder
(int)
Indicates which movement order is the next to be carried out. This is useful when defining stabled trains that are as a result of "previous" shunting.
PeriodStart
(DateTime)
Only the date portion of the DateTime is used (the time portion is ignored).
When left blank, stabled train is valid for all dates
Defines the date when the stabled train is valid. Simulations started with a date before this date are not created.
PeriodEnd
(DateTime)
Only the date portion of the DateTime is used (the time portion is ignored).
When left blank, stabled train is valid for all dates
Defines the date until which the stabled train is valid. Simulations started with a date after this date are not created.

Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers