Vehicle Contents (Movement Order): Difference between revisions

From SignalWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
Example:  
Example:  


loco, car1, car2, car3, .... car9
<nowiki>
      loco, car1, car2, car3, .... car9
index:    0    1    2    3          9
index:    0    1    2    3          9
   
   
loco1, loco2, loco3, car1, car2, car3  
      loco1, loco2, loco3, car1, car2, car3  
index:    0      1      2    3    4    5
index:    0      1      2    3    4    5
</nowiki>


During simulation, if there is any mismatch in indices (example 10 values, only 9 cars) sim will not execute the order. In Developer mode, warning message is generated.
During simulation, if there is any mismatch in indices (example 10 values, only 9 cars) sim will not execute the order. In Developer mode, warning message is generated.

Revision as of 04:53, 16 June 2011

A Vehicle Contents movement order is defined by a set of delimited values that determines changes to be made to a set of vehicles. Changes include loading/unloading passengers, loading/unloading freight, changing vehicle destinations, and changing freight contents.

The type number for this order is 18.

For each vehicle that is to be changed, 5 values need to be defined. For 2 vehicles, 10 values are required, etc. The format for each vehicle is as follows:

index;loaded;loadtype;mass;destination

index

The vehicle index, where the first vehicle is index 0, the second is index 1, etc.

Example:

loco, car1, car2, car3, .... car9 index: 0 1 2 3 9 loco1, loco2, loco3, car1, car2, car3 index: 0 1 2 3 4 5

During simulation, if there is any mismatch in indices (example 10 values, only 9 cars) sim will not execute the order. In Developer mode, warning message is generated.