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 22:53] – [The locomotive properties] 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 19: | Line 21: | ||
<if condition=" | <if condition=" | ||
- | | Direct jump to the [[userpages: | + | | Direct jump to the [[userpages: |
===== Explaining the script ===== | ===== Explaining the script ===== | ||
Line 57: | 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 88: | Line 88: | ||
</ | </ | ||
</if> | </if> | ||
- | | + | <set vr="vr_ddS_newValue" |
- | < | + | |
- | </model> | + | |
</ | </ | ||
</if> | </if> | ||
Line 127: | Line 125: | ||
</if> | </if> | ||
| | ||
- | <model cmd="change"> | + | <set vr="vr_ddS_%callerid%_newValue" |
- | < | + | |
- | </model> | + | |
</ | </ | ||
</if> | </if> | ||
Line 135: | 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 156: | Line 152: | ||
==== The locomotive properties ==== | ==== The locomotive properties ==== | ||
The locomotive should have set "Use depart delay" = YES (see [[: | The locomotive should have set "Use depart delay" = YES (see [[: | ||
- | The locomotive should have set " | + | The locomotive should have set " |
{{: | {{: | ||
Line 168: | Line 164: | ||
**Remark:** the " | **Remark:** the " | ||
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.1614462816.txt.gz · Last modified: 2021/02/27 22:53 by hermannk