TAS:Pokročilé/Pluginy/Input, Output/Import/ScenarioImporter/Přidej sloupec ColumnsAdd/en: Porovnání verzí
(založena nová stránka s textem „<ColumnsAdd><br /> <string>0;x;</string><br /> <string>0;y;</string><br /> <string>0;start1;100</string><br /> <string>0;end1;2300</string><br /> <string>0;duration;0</string><br /> <string>0;precedence;2</string><br /> </ColumnsAdd>“) |
(založena nová stránka s textem „<span style="color: rgb(51,51,51);text-decoration: none;"><span style="color: rgb(51,51,51);text-decoration: none;"></ColumnsAdd></span></span>“) |
||
Řádek 71: | Řádek 71: | ||
<span style="color: rgb(51,51,51);text-decoration: none;"><span style="color: rgb(51,51,51);text-decoration: none;"><span style="color: rgb(51,51,51);text-decoration: none;"></ColumnsAdd></span></span></span> | <span style="color: rgb(51,51,51);text-decoration: none;"><span style="color: rgb(51,51,51);text-decoration: none;"><span style="color: rgb(51,51,51);text-decoration: none;"></ColumnsAdd></span></span></span> | ||
'''<span style="color: rgb(51,51,51);text-decoration: none;"><span style="color: rgb(51,51,51);text-decoration: none;"><span style="color: rgb(51,51,51);text-decoration: none;"> | '''<span style="color: rgb(51,51,51);text-decoration: none;"><span style="color: rgb(51,51,51);text-decoration: none;"><span style="color: rgb(51,51,51);text-decoration: none;">For unloading:</span></span></span>''' | ||
<span style="color: rgb(51,51,51);text-decoration: none;"><ColumnsAdd></span> | <span style="color: rgb(51,51,51);text-decoration: none;"><ColumnsAdd></span> |
Aktuální verze z 17. 8. 2022, 12:08
Adds the required columns on import, with the preset value. The values may be different for the 1st and 2nd track.
Example: for a simple (1-track) import
Input data header:
id | name | adress | demand | duration |
To make the import work, you need to add the columns: x; y; from1; to1; sequence:
<ColumnsAdd>
<string>0;x;</string>
<string>0;y;</string>
<string>0;start1;100</string>
<string>0;end1;2300</string>
<string>0;duration;0</string>
<string>0;precedence;2</string>
</ColumnsAdd>
In general:
<string>track;column name;preset value</string>
<string>0;start1;100</string>
<string>0;color;Red</string>
If it is a single-track import, the track will always be set to 0.
In the case of a two-track import, the track has a value of 0 for loading and a value of 100 for unloading.
Example for a two-track import:
For loading:
<ColumnsAdd>
<string>0;x;</string>
</ColumnsAdd>
For unloading:
<ColumnsAdd>
<string>100;x;</string>
</ColumnsAdd>