userpages:hermannk:departdelaychange-en
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
userpages:hermannk:departdelaychange-en [2021/02/27 23:00] – [Depart Delay - Change] hermannk | userpages:hermannk:departdelaychange-en [2023/09/11 15:55] (current) – [The script (multiple blocks)] hermannk | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Depart Delay - Change ====== | ====== Depart Delay - Change ====== | ||
- | [[: | + | [[: |
- | + | \\ | |
- | + | ||
This XML-script solution was requested by a user who needed an extra amount of time for the build-in " | This XML-script solution was requested by a user who needed an extra amount of time for the build-in " | ||
- | | Direct jump to the [[userpages: | + | | Direct jump to the [[userpages: |
===== Introduction ===== | ===== Introduction ===== | ||
- | The properties of a block hold a " | + | The " |
Because of special reasons this value should be increased during runtime for certain locomotives. \\ | Because of special reasons this value should be increased during runtime for certain locomotives. \\ | ||
\\ | \\ | ||
Line 23: | Line 21: | ||
<if condition=" | <if condition=" | ||
- | | Direct jump to the [[userpages: | + | | Direct jump to the [[userpages: |
===== Explaining the script ===== | ===== Explaining the script ===== | ||
Line 61: | Line 59: | ||
==== Changing the Depart Delay value ==== | ==== Changing the Depart Delay value ==== | ||
It is still assumed that a locomotive of class " | It is still assumed that a locomotive of class " | ||
- | The **model** | + | The data structure |
- | <model cmd="change"> | + | <set vr="vr_ddS_newValue" |
- | < | + | |
- | </model> | + | |
As can be seen the value attribute ("#" | As can be seen the value attribute ("#" | ||
Line 92: | Line 88: | ||
</ | </ | ||
</if> | </if> | ||
- | | + | <set vr="vr_ddS_newValue" |
- | < | + | |
- | </model> | + | |
</ | </ | ||
</if> | </if> | ||
Line 131: | Line 125: | ||
</if> | </if> | ||
| | ||
- | <model cmd="change"> | + | <set vr="vr_ddS_%callerid%_newValue" |
- | < | + | |
- | </model> | + | |
</ | </ | ||
</if> | </if> | ||
Line 139: | Line 131: | ||
===== Installation ===== | ===== Installation ===== | ||
- | The test plan looks like this. (direct jump to the [[userpages: | + | The test plan looks like this. (direct jump to the [[userpages: |
{{: | {{: | ||
Line 173: | Line 165: | ||
Have fun. \\ | Have fun. \\ | ||
===== The workspace ===== | ===== The workspace ===== | ||
- | The {{ : | + | Update: 11.09.2023 \\ |
+ | XMLscript " | ||
+ | old: \\ | ||
+ | <model cmd=" | ||
+ | <bk id=" | ||
+ | </ | ||
+ | New: \\ | ||
+ | <set vr=" | ||
+ | \\ | ||
+ | The {{ : | ||
{{: | {{: | ||
userpages/hermannk/departdelaychange-en.1614463212.txt.gz · Last modified: 2021/02/27 23:00 by hermannk