MovementOrders: Difference between revisions

From SignalWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 126: Line 126:
;ContentChanges
;ContentChanges
:(string)
:(string)
:Defines the values to use when executing a Vehicle Contents movement order (type# 18).
:Defines the values to use when executing a [[Vehicle Contents (Movement Order)|Vehicle Contents]] movement order (type# 18).


;PeriodStart
;PeriodStart

Revision as of 04:38, 16 June 2011

The MovementOrders table defines all the scheduled movement orders.

ID
(int)
Automatically increments.
MovementType
(int)
Indicates the type of movement order being defined.
0: Renumber
1: Turnaround (Change Cab)
2: Couple
3: Uncouple
4: Call
5: Change Driver
6: RESERVED
7: Pull Up
8: Stop Short
9: Stop Ahead
10: Take Switch Lock
11: Take Spur
12: RESERVED
13: Stable Cars
14: Spot Cars
Train_ID_SOFT
(string)
Train number of the train for which this order applies.
Train_ID_HARD
(int)
Database ID of train in Timetable table for which this order applies. If the train does not exist in the Timetable table, then this can be left empty. This allows for orders to be defined for trains that are created through other movement orders.
Predecessor_ID
(int)
Database ID within the MovementOrders table of the previous movement order. Is -1 if the order is the first in the list. This allows the simulation to properly sort the orders in the proper sequence.
OrderTrack
(string)
Name of the track where the order is to occur. This can be left empty.
OrderStation
(string)
Name of the station (location) where the order is to occur. This cannot be left empty.
RenumberID
(string)
Train ID to renumber to. Applies to renumbering orders only.
RenumberUpdatesTNV
(bool)
True when the new train ID is automatically entered into the train number display (TNV) system.
UncoupleLeftID
(string)
Used when the order is an uncouple order. Defines the new name of the consist on the left side of the uncouple point.
UncoupleRightID
(string)
Used when the order is an uncouple order. Defines the new name of the consist on the right side of the uncouple point.
UncoupleIndex
(int)
Indicates where to uncouple, relative to the front of the train.
UncoupleLeftDirection
(int)
Indicates the new direction of the left portion of the split train. 0 = left, 1 = right.
UncoupleRightDirection
(int)
Indicates the new direction of the right portion of the split train. 0 = left, 1 = right.
UncoupleLeftCallsIn
(bool)
If the driver of the new left train should call the dispatcher after uncoupling, then this value should be true.
UncoupleRightCallsIn
(bool)
If the driver of the new right train should call the dispatcher after uncoupling, then this value should be true.
CoupleID_Partner
(string)
Defines the train ID of the train to couple with.
CoupleNewID
(string)
Defines the train ID of the train after coupling.
CoupleCallInForDeparture
(bool)
True when the driver of the newly coupled train calls the dispatcher.
NewDriverPrepTime
(date)
Time of day that a new driver should arrive at a train.
NewDriverType
(int)
Type of the new driver, as defined in the DriverTypes table.
StopShortDistance
(int)
Distance, in metres, that a train should stop before a signal. Used when the movement order is a stop short order.
FreeShuntRegion
(string)
Name of the free shunting region where this order should be defined.
FreeShuntSequence
(int)
Sequence number to use when doing free shunting orders.
FreeShuntSpotCarsNewID
(string)
Train ID of the new train after spotting cars.
FreeShuntSpotCarsNewDirection
(int)
Direction of the train after spotting cars in a free shunting order, 0 = left, 1 = right.
SpurName
(string)
The name of the spur to take.
ContentChanges
(string)
Defines the values to use when executing a Vehicle Contents movement order (type# 18).
PeriodStart
(date)
Date from which the movement order is valid. (you better copy a train and attach the movement orders to that periodic train)
PeriodEnd
(date)
Date at which the movement order no longer valid.




Return to Timetables