Difference between revisions of "Light-scheme"

From Larnitech wiki page
Jump to navigation Jump to search
(Marked this version for translation)
 
Line 1: Line 1:
 
<languages/>
 
<languages/>
 
<translate>
 
<translate>
===Example of description in XML===
+
===Example of description in XML=== <!--T:1-->
  
 +
<!--T:2-->
 
<syntaxhighlight lang="xml" line>
 
<syntaxhighlight lang="xml" line>
 
<item addr="100:100" name="Colour scheme" type="light-scheme" system="yes" image="lamp">
 
<item addr="100:100" name="Colour scheme" type="light-scheme" system="yes" image="lamp">
Line 12: Line 13:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
===Parameters of contains===
+
===Parameters of contains=== <!--T:3-->
  
 +
<!--T:4-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-

Latest revision as of 15:00, 24 January 2022

Other languages:
English • ‎русский

Example of description in XML

1<item addr="100:100" name="Colour scheme" type="light-scheme" system="yes" image="lamp">
2    <contains addr="140:8" state="1"/>
3    <contains addr="140:24" state="1:250:0" />
4    <contains addr="140:32" state="1:250:250:250:0"/>
5    <automation door-sensors="146:24" enabled="yes" illumination-level="50" time-interval="60" type="on-by-door"/>
6</item>

Parameters of contains

Name type and variety description
id* number 1..2048 Executive device ID
sub-id* number 1..255 executive device sub-id
state* number Status sent to the executor

* – required fields