<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="cs">
	<id>https://wiki.solvertech.cz/index.php?action=history&amp;feed=atom&amp;title=TAS%3APokro%C4%8Dil%C3%A9%2FPluginy%2FInput%2C_Output%2FImport%2FScenarioImporter%2FColumnsCalculated%2Fen</id>
	<title>TAS:Pokročilé/Pluginy/Input, Output/Import/ScenarioImporter/ColumnsCalculated/en - Historie editací</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.solvertech.cz/index.php?action=history&amp;feed=atom&amp;title=TAS%3APokro%C4%8Dil%C3%A9%2FPluginy%2FInput%2C_Output%2FImport%2FScenarioImporter%2FColumnsCalculated%2Fen"/>
	<link rel="alternate" type="text/html" href="https://wiki.solvertech.cz/index.php?title=TAS:Pokro%C4%8Dil%C3%A9/Pluginy/Input,_Output/Import/ScenarioImporter/ColumnsCalculated/en&amp;action=history"/>
	<updated>2026-06-17T02:14:46Z</updated>
	<subtitle>Historie editací této stránky</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://wiki.solvertech.cz/index.php?title=TAS:Pokro%C4%8Dil%C3%A9/Pluginy/Input,_Output/Import/ScenarioImporter/ColumnsCalculated/en&amp;diff=10926&amp;oldid=prev</id>
		<title>Jana.safferova: založena nová stránka s textem „3 - Type of the column to use as a variable“</title>
		<link rel="alternate" type="text/html" href="https://wiki.solvertech.cz/index.php?title=TAS:Pokro%C4%8Dil%C3%A9/Pluginy/Input,_Output/Import/ScenarioImporter/ColumnsCalculated/en&amp;diff=10926&amp;oldid=prev"/>
		<updated>2022-08-19T09:37:57Z</updated>

		<summary type="html">&lt;p&gt;založena nová stránka s textem „3 - Type of the column to use as a variable“&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;cs&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Starší verze&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Verze z 19. 8. 2022, 09:37&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l57&quot;&gt;Řádek 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Řádek 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If it is necessary to assign a color to an unserved job, [https://wiki.solvertech.cz/wiki/TAS:Pokro%C4%8Dil%C3%A9/Pluginy/Input,_Output/Import/ScenarioImporter/P%C5%99idej_sloupec_ColumnsAdd it is necessary to create a dynamic column] &amp;quot;color&amp;quot;, optimally setting it to the default color &amp;quot;Red&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If it is necessary to assign a color to an unserved job, [https://wiki.solvertech.cz/wiki/TAS:Pokro%C4%8Dil%C3%A9/Pluginy/Input,_Output/Import/ScenarioImporter/P%C5%99idej_sloupec_ColumnsAdd it is necessary to create a dynamic column] &amp;quot;color&amp;quot;, optimally setting it to the default color &amp;quot;Red&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is then possible to change the colour of the job using conditions. Note that the colour notation is different than in [https://wiki.solvertech.cz/wiki/TAS:Pokro%C4%8Dil%C3%A9/Pluginy/Input,_Output/Import/ScenarioImporter/AfterConsolidationColumnsCalculated AfterConsolidationColumnsCalculated].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is then possible to change the colour of the job using conditions. Note that the colour notation is different than in [https://wiki.solvertech.cz/wiki/TAS:Pokro%C4%8Dil%C3%A9/Pluginy/Input,_Output/Import/ScenarioImporter/AfterConsolidationColumnsCalculated&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/en &lt;/ins&gt;AfterConsolidationColumnsCalculated].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you want to assign a legend to a colour, read [[TAS:Obecné/Mapy/Využívané_mapové_podklady/HERE_mapové_podklady/Zobrazení_legendy_barev_na_mapě|Displaying a colour legend on the map]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you want to assign a legend to a colour, read [[TAS:Obecné/Mapy/Využívané_mapové_podklady/HERE_mapové_podklady/Zobrazení_legendy_barev_na_mapě&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/en&lt;/ins&gt;|Displaying a colour legend on the map]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Example:'''&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Example:'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jana.safferova</name></author>
	</entry>
	<entry>
		<id>https://wiki.solvertech.cz/index.php?title=TAS:Pokro%C4%8Dil%C3%A9/Pluginy/Input,_Output/Import/ScenarioImporter/ColumnsCalculated/en&amp;diff=7858&amp;oldid=prev</id>
		<title>Jana.safferova: založena nová stránka s textem „left“</title>
		<link rel="alternate" type="text/html" href="https://wiki.solvertech.cz/index.php?title=TAS:Pokro%C4%8Dil%C3%A9/Pluginy/Input,_Output/Import/ScenarioImporter/ColumnsCalculated/en&amp;diff=7858&amp;oldid=prev"/>
		<updated>2022-08-17T11:46:45Z</updated>

		<summary type="html">&lt;p&gt;založena nová stránka s textem „&lt;a href=&quot;/wiki/Soubor:TAS_Pokroile_Pluginy_Input,_Output_Import_ScenarioImporter_ColumnsCalculatedart-color-table.png&quot; title=&quot;Soubor:TAS Pokroile Pluginy Input, Output Import ScenarioImporter ColumnsCalculatedart-color-table.png&quot;&gt;340px|left&lt;/a&gt;“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nová stránka&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages /&amp;gt; &lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
It is used to calculate based on some condition.&lt;br /&gt;
&lt;br /&gt;
'''Explanation:'''&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;string&amp;amp;gt;1;2;3;4;;5&amp;amp;lt;/string&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
1 - Type of column into which we want the condition to be written&lt;br /&gt;
&lt;br /&gt;
2 - Name of the column where we want the condition to be written&lt;br /&gt;
&lt;br /&gt;
3 - Type of the column to use as a variable&lt;br /&gt;
&lt;br /&gt;
4 - The name of the column we will use as a variable&lt;br /&gt;
&lt;br /&gt;
5 - condition (separated from the input columns by two semicolons) - Write here the previous type and the column name together as one word.&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;string&amp;amp;gt;stop2;workingtime;stop2;duration;;stop2duration&amp;amp;lt;/string&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case, the value that is in the duration column in track 2 is written to the workingtime column in track 2.&lt;br /&gt;
&lt;br /&gt;
'''Other condition options:'''&lt;br /&gt;
&lt;br /&gt;
'''Simple Calculation:'''&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;string&amp;amp;gt;stop2;demand1;stop1;demand1;;-stop1demand1&amp;amp;lt;/string&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here the minus value from demand 1 track 1 is written into demand 1 track 2&lt;br /&gt;
&lt;br /&gt;
'''Complicated condition:'''&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;string&amp;amp;gt;job;specialcodes;stop1;address;job;specialcodes;;stop1address==Opatovská cesta 10. 04011 Košice?jobspecialcodes-kosice:jobspecialcodes&amp;amp;lt;/string&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the value &amp;quot;Opatovská cesta 10. 04011 Košice&amp;quot; appears in trace 1 of the adress column, the value from the specialcode and additionally &amp;quot;-kosice&amp;quot; will be written into the specialcodes column. If this condition is not met, only special codes will be written. In this condition, job;specialcodes is used once as the type/name of the column to overwrite the condition and a second time as a variable that is overwritten in this column - so it is necessary to have the job;specialcodes column in the string twice - once at the beginning (type/name of the column) and a second time as a variable.&lt;br /&gt;
&lt;br /&gt;
'''Events Containing Time'''&lt;br /&gt;
&lt;br /&gt;
If it is necessary to assess events that contain time information, &amp;quot;XXX&amp;quot; is used instead of a colon to separate the events.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;string&amp;amp;gt;dynamic;cas_celkem;dynamic;naklad;;dynamicnaklad&amp;amp;amp;gt;100?1400XXX1700&amp;amp;lt;/string&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the value in the dynamic column &amp;quot;load&amp;quot; is greater than 100, the dynamic column cas_celkem will be set to 14:00, otherwise to 17:00.&lt;br /&gt;
&lt;br /&gt;
'''Determine if the field is empty'''&lt;br /&gt;
&lt;br /&gt;
If you need to determine whether a field is empty or contains any value, the syntax is:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;string&amp;amp;gt;stop1;name;stop1;name;;stop1name==?NIKDO:stop1name&amp;amp;lt;/string&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the &amp;quot;name&amp;quot; field of track 1 is empty, the value &amp;quot;NONE&amp;quot; is filled in, if it is not empty, it keeps its value.&lt;br /&gt;
&lt;br /&gt;
'''Assigning a colour to an unserved job'''&lt;br /&gt;
&lt;br /&gt;
If it is necessary to assign a color to an unserved job, [https://wiki.solvertech.cz/wiki/TAS:Pokro%C4%8Dil%C3%A9/Pluginy/Input,_Output/Import/ScenarioImporter/P%C5%99idej_sloupec_ColumnsAdd it is necessary to create a dynamic column] &amp;quot;color&amp;quot;, optimally setting it to the default color &amp;quot;Red&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
It is then possible to change the colour of the job using conditions. Note that the colour notation is different than in [https://wiki.solvertech.cz/wiki/TAS:Pokro%C4%8Dil%C3%A9/Pluginy/Input,_Output/Import/ScenarioImporter/AfterConsolidationColumnsCalculated AfterConsolidationColumnsCalculated].&lt;br /&gt;
&lt;br /&gt;
If you want to assign a legend to a colour, read [[TAS:Obecné/Mapy/Využívané_mapové_podklady/HERE_mapové_podklady/Zobrazení_legendy_barev_na_mapě|Displaying a colour legend on the map]]&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; 1 &amp;amp;lt;string&amp;amp;gt;dynamic;color;dynamic;color;stop1;demand1;;stop1demand1&amp;amp;amp;lt;51?LawnGreen:dynamiccolor&amp;amp;lt;/string&amp;amp;gt; &amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; 2 &amp;amp;lt;string&amp;amp;gt;dynamic;color;dynamic;color;stop1;demand1;;stop1demand1&amp;amp;amp;gt;50?SkyBlue:dynamiccolor&amp;amp;lt;/string&amp;amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the job has demand1 less than 51, the color of the uncirculated job is set to &amp;quot;LawnGreen&amp;quot;. If larger, it is set to &amp;quot;SkyBlue&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Colours:&lt;br /&gt;
&lt;br /&gt;
[[File:TAS_Pokroile_Pluginy_Input,_Output_Import_ScenarioImporter_ColumnsCalculatedart-color-table.png|340px|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Swapping of delivery and collection'''&lt;br /&gt;
&lt;br /&gt;
If you need to swap delivery and collection, please follow the [[TAS:Pokročilé/Pluginy/Input,_Output/Import/ScenarioImporter/Časté_chyby_a_jejich_řešení/Přehození_svozu_a_rozvozu/en|Swap collection and delivery]]&lt;br /&gt;
&lt;br /&gt;
the &amp;quot;?&amp;quot; character separates the condition from the event&lt;br /&gt;
&lt;br /&gt;
the &amp;quot;:&amp;quot; character separates events from each other&lt;br /&gt;
&lt;br /&gt;
the character &amp;quot;XXX&amp;quot; separates the time events from each other&lt;br /&gt;
&lt;br /&gt;
the &amp;quot;==&amp;quot; character determines whether the condition is equal to the given value&lt;br /&gt;
&lt;br /&gt;
the &amp;quot;&amp;amp;amp;gt;&amp;quot; character determines whether the condition is greater than the given value&lt;br /&gt;
&lt;br /&gt;
the character &amp;quot;&amp;amp;amp;lt;&amp;quot; determines whether the condition is smaller than the given value&lt;br /&gt;
&lt;br /&gt;
the character &amp;quot;&amp;amp;amp;gt;&amp;amp;amp;lt;&amp;quot; determines whether the condition contains the given value&lt;/div&gt;</summary>
		<author><name>Jana.safferova</name></author>
	</entry>
</feed>