Difference between revisions of "Translations:Item/1/en"
From Larnitech wiki page
Jump to navigation
Jump to search
Latest revision as of 11:40, 23 January 2022
Information about message (contribute ) This message has no documentation.
If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Item )
==Generic description of tag item== Interface elements description. ===Example of description in XML=== <syntaxhighlight lang="xml" line> <item addr="100:10" name=" chandelier" type="lamp" auto-period="600" system="yes" image="air-fan"> <linked addr="101:1"/> // is bound to the button with the address 101:1 <automation ……./> // set the automation for this element </item> </syntaxhighlight> ===Parameters=== {|class="wikitable" |- !Name!!type and variety!!description!!default value |- |name*||string||Device name in the control interface||- |- |addr*||ID:SID<br>ID: 1..2048<br>SID: 1..255<br>||ID:SID of the device where this element is located physically||- |- |type*||Enum||type of element||- |- |auto-period||number 0..65000||time in seconds during which the automation is disabled when the status is changed manually.||600 |- |system||yes||Visibility criterion in the interface<br>yes – do not display||- |- |virtual||yes||Sets a virtual item||- |- |area-state||yes||connecting system elements to the area-state||- |- |sub-type||enum||subtype||- |- |image||VALUE||Name of the alternative image for displaying the element in the interface The following files are to be in ZIP-file of interface in png/devs/ folder: <syntaxhighlight lang="xml" line> <VALUE>.png <VALUE>-0.png </syntaxhighlight> |} <nowiki>*</nowiki> – required fields
==Generic description of tag item==
Interface elements description.
===Example of description in XML===
<syntaxhighlight lang="xml" line>
<item addr="100:10" name=" chandelier" type="lamp" auto-period="600" system="yes" image="air-fan">
<linked addr="101:1"/> // is bound to the button with the address 101:1
<automation ……./> // set the automation for this element
</item>
</syntaxhighlight>
===Parameters===
{|class="wikitable"
|-
!Name!!type and variety!!description!!default value
|-
|name*||string||Device name in the control interface||-
|-
|addr*||ID:SID<br>ID: 1..2048<br>SID: 1..255<br>||ID:SID of the device where this element is located physically||-
|-
|type*||Enum||type of element||-
|-
|auto-period||number 0..65000||time in seconds during which the automation is disabled when the status is changed manually.||600
|-
|system||yes||Visibility criterion in the interface<br>yes – do not display||-
|-
|virtual||yes||Sets a virtual item||-
|-
|area-state||yes||connecting system elements to the area-state||-
|-
|sub-type||enum||subtype||-
|-
|image||VALUE||Name of the alternative image for displaying the element in the interface
The following files are to be in ZIP-file of interface in png/devs/ folder:
<syntaxhighlight lang="xml" line>
<VALUE>.png
<VALUE>-0.png
</syntaxhighlight>
|}
<nowiki>*</nowiki> – required fields
Translation ==Generic description of tag item== Interface elements description. ===Example of description in XML=== <syntaxhighlight lang="xml" line> <item addr="100:10" name=" chandelier" type="lamp" auto-period="600" system="yes" image="air-fan"> <linked addr="101:1"/> // is bound to the button with the address 101:1 <automation ……./> // set the automation for this element </item> </syntaxhighlight> ===Parameters=== {|class="wikitable" |- !Name!!type and variety!!description!!default value |- |name*||string||Device name in the control interface||- |- |addr*||ID:SID<br>ID: 1..2048<br>SID: 1..255<br>||ID:SID of the device where this element is located physically||- |- |type*||Enum||type of element||- |- |auto-period||number 0..65000||time in seconds during which the automation is disabled when the status is changed manually.||600 |- |system||yes||Visibility criterion in the interface<br>yes – do not display||- |- |virtual||yes||Sets a virtual item||- |- |area-state||yes||connecting system elements to the area-state||- |- |sub-type||enum||subtype||- |- |image||VALUE||Name of the alternative image for displaying the element in the interface The following files are to be in ZIP-file of interface in png/devs/ folder: <syntaxhighlight lang="xml" line> <VALUE>.png <VALUE>-0.png </syntaxhighlight> |} <nowiki>*</nowiki> – required fields Generic description of tag item
Interface elements description.
Example of description in XML
1 <item addr= "100:10" name= " chandelier" type= "lamp" auto-period= "600" system= "yes" image= "air-fan" >
2 <linked addr= "101:1" /> // is bound to the button with the address 101:1
3 <automation ……. /> // set the automation for this element
4 </item>
Parameters
Name
type and variety
description
default value
name*
string
Device name in the control interface
-
addr*
ID:SID ID: 1..2048 SID: 1..255
ID:SID of the device where this element is located physically
-
type*
Enum
type of element
-
auto-period
number 0..65000
time in seconds during which the automation is disabled when the status is changed manually.
600
system
yes
Visibility criterion in the interface yes – do not display
-
virtual
yes
Sets a virtual item
-
area-state
yes
connecting system elements to the area-state
-
sub-type
enum
subtype
-
image
VALUE
Name of the alternative image for displaying the element in the interface
The following files are to be in ZIP-file of interface in png/devs/ folder:
1 <VALUE> .png
2 <VALUE> -0.png
* – required fields