Add semantic tags (#18547)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>pull/18588/head
parent
bbd5dfadca
commit
f0c425123a
|
@ -7,6 +7,10 @@
|
||||||
<item-type>Number:Dimensionless</item-type>
|
<item-type>Number:Dimensionless</item-type>
|
||||||
<label>Ink Level</label>
|
<label>Ink Level</label>
|
||||||
<description>Shows the amount of Ink/Toner remaining</description>
|
<description>Shows the amount of Ink/Toner remaining</description>
|
||||||
|
<tags>
|
||||||
|
<tag>Status</tag>
|
||||||
|
<tag>Level</tag>
|
||||||
|
</tags>
|
||||||
<state readOnly="true" pattern="%f %%"/>
|
<state readOnly="true" pattern="%f %%"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
|
@ -14,6 +18,9 @@
|
||||||
<item-type>Number</item-type>
|
<item-type>Number</item-type>
|
||||||
<label>Totals</label>
|
<label>Totals</label>
|
||||||
<description>Amount of pages.</description>
|
<description>Amount of pages.</description>
|
||||||
|
<tags>
|
||||||
|
<tag>Status</tag>
|
||||||
|
</tags>
|
||||||
<state readOnly="true"/>
|
<state readOnly="true"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
|
@ -21,6 +28,9 @@
|
||||||
<item-type>Number</item-type>
|
<item-type>Number</item-type>
|
||||||
<label>Totals</label>
|
<label>Totals</label>
|
||||||
<description>Amount of pages.</description>
|
<description>Amount of pages.</description>
|
||||||
|
<tags>
|
||||||
|
<tag>Status</tag>
|
||||||
|
</tags>
|
||||||
<state readOnly="true"/>
|
<state readOnly="true"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
|
@ -28,6 +38,10 @@
|
||||||
<item-type>Number:Volume</item-type>
|
<item-type>Number:Volume</item-type>
|
||||||
<label>Cumulative Marking Used</label>
|
<label>Cumulative Marking Used</label>
|
||||||
<description>Shows the amount of Ink/Toner used</description>
|
<description>Shows the amount of Ink/Toner used</description>
|
||||||
|
<tags>
|
||||||
|
<tag>Status</tag>
|
||||||
|
<tag>Level</tag>
|
||||||
|
</tags>
|
||||||
<state readOnly="true" pattern="%f mL"/>
|
<state readOnly="true" pattern="%f mL"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
|
@ -35,6 +49,10 @@
|
||||||
<item-type>String</item-type>
|
<item-type>String</item-type>
|
||||||
<label>Status</label>
|
<label>Status</label>
|
||||||
<description>Printer Status</description>
|
<description>Printer Status</description>
|
||||||
|
<tags>
|
||||||
|
<tag>Status</tag>
|
||||||
|
<tag>Mode</tag>
|
||||||
|
</tags>
|
||||||
<state readOnly="true">
|
<state readOnly="true">
|
||||||
<options>
|
<options>
|
||||||
<option value="ready">Idle</option>
|
<option value="ready">Idle</option>
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
<thing-type id="printer">
|
<thing-type id="printer">
|
||||||
<label>HP Printer</label>
|
<label>HP Printer</label>
|
||||||
<description>An HP Printer.</description>
|
<description>An HP Printer.</description>
|
||||||
|
<semantic-equipment-tag>Printer</semantic-equipment-tag>
|
||||||
<channel-groups>
|
<channel-groups>
|
||||||
<channel-group typeId="printerStatus" id="status"/>
|
<channel-group typeId="printerStatus" id="status"/>
|
||||||
<channel-group typeId="ink" id="ink"/>
|
<channel-group typeId="ink" id="ink"/>
|
||||||
|
|
Loading…
Reference in New Issue