Difference between revisions of "Script/ru"
Jump to navigation
Jump to search
(Created page with "===Пример описания в XML===") |
(Created page with "===Параметры===") |
||
Line 6: | Line 6: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | === | + | ===Параметры=== |
{|class="wikitable" | {|class="wikitable" |
Revision as of 12:51, 26 January 2022
Пример описания в XML
1<item type="script" name="Test" path="script-test.txt" addr="125:150" NAME=”VALUE”/>
Параметры
Name | type and variety | description |
---|---|---|
path* | string | path to script file relatively to server folder |
body* | string | contents of script (instead of path) |
NAME | string | parameters sent to script |
* – required fields
Possible variants of setting the status
Byte | description |
---|---|
0 | 0 – off 1 – on 0xFF – Change the status for the opposite one |