statusmenu

Defines the Status Menu group for the default openGear menu layout. This tag behaves in the same manner as the <menugroup> tag when the menuid=0.

Syntax

<statusmenu menuid="id" name="menu-group-name">

<menu/>

<menu/>

. . .

</statusmenu>

Attributes

Attribute

Values

Restrictions

Description

menuid

Integer

Optional. Should be set to 0.

Numeric ID for the menu group. This value must be only set once and not changed. Defaults to 0.

name

String

 

Name of the menu group.

 


Example

The following example creates a status menu group with two menus:

<statusmenu menuid="0" name="Status">

<menu menuid="0" menustate="2" name="Status" staticid="0">

    <param access="0" name="Card Status" oid="0x201"/>

    <param access="0" name="Reference" oid="0x204"/>

</menu>

<menu menuid="1" menustate="2" name="Product Info" staticid="1">

    <param access="0" name="Product" oid="0x105"/>

    <param access="0" name="Name" oid="0x107"/>

    <param access="0" name="Supplier" oid="0x102"/>

    <param access="0" name="Software Rev" oid="0x10B"/>

</menu>

</statusmenu>