svghmi/widget_switch.ysl2
changeset 3386 608f48ad3dfc
parent 3241 fe945f1f48b7
child 3513 7d4a16e59337
equal deleted inserted replaced
3385:18621ce81f5f 3386:608f48ad3dfc
     9     Label can have comments, so '1#some comment' would also match. If matching
     9     Label can have comments, so '1#some comment' would also match. If matching
    10     variable of type HMI_STRING, then double quotes must be used. For exemple,
    10     variable of type HMI_STRING, then double quotes must be used. For exemple,
    11     '"hello"' or '"hello"#another comment' match HMI_STRING 'hello'.
    11     '"hello"' or '"hello"#another comment' match HMI_STRING 'hello'.
    12     ||
    12     ||
    13 
    13 
    14     shortdesc > Show elements whose label match value.
    14     shortdesc > Show elements whose label matches value.
    15 
    15 
    16     // TODO: add optional format/precision argument to support floating points
    16     // TODO: add optional format/precision argument to support floating points
    17     // TODO: support (in)equations and ranges
    17     // TODO: support (in)equations and ranges
    18 
    18 
    19     path name="value" accepts="HMI_INT,HMI_STRING" > value to compare to labels
    19     path name="value" accepts="HMI_INT,HMI_STRING" > value to compare to labels