This is an old revision of the document!
The label.xml files constructs the label. Multiple label files may exist with different names to construct different label layouts, for example app.xml and acc.xml
The (label_name).xml
file is located in the fir/labels/
directory
Root Element | labels | |
---|---|---|
Attribute | Remarks | |
type | function | |
ground | labels shown in ground radar | |
airborne | labels shown for airborne traffic |
Root Element | <state> | |
---|---|---|
Attribute | family | Remarks |
default | all | Standard label |
arrival | ground | label for arriving aircraft |
departure | ground | label for departing aircraft |
psr | airborne | label for aircraft *not* equipped with a transponder |
concerned | airborne | label for aircraft with station set as NEXT |
assumed | airborne | label for aircraft assumed by station |
released | airborne | label for aircraft released by station |
filtered | airborne | label for aircraft subject to High/Low filter |
Root Element | line | |
---|---|---|
Element | field | |
Attribute | Format | Remarks |
id | string | ID of label field |
unselected | boolean | show field when label is not selected |
prefix | string | prefix before field |
format | string | format of field (fstring) |
action | string | function called by single click |
doubleaction | string | function called by double click |
info | string | function called by right (secondary) click |
<labels> <airborne> <default> <line> <!-- STATUS LINE - MUST BE DEFINED !! --> <field id="alert" tag="" unselected="true" prefix="" /> <field id="warning" tag="" unselected="true" prefix=" " /> <field id="rof" tag="" unselected="true" prefix=" " format="ROF" /> <field id="dupe" tag="" unselected="true" prefix=" " format="DUPE" /> </line> <line> <field id="callsign" tag="" unselected="true" prefix="" action="CALLSIGNMENU" info="CALLSIGNMENU" doubleaction="NEXTME" /> <field id="si" tag="SI" unselected="true" prefix=" " action="NEXT" info="NEXT" doubleaction="NEXTME" /> <field id="atyp" tag="" unselected="true" prefix=" " action="FLIGHTPLAN" /> <field id="wtc" tag="" unselected="false" prefix=" " /> <field id="tssr" tag="" unselected="false" prefix=" " action="ASSR" /> </line> <line> <field id="afl" tag="***" unselected="true" prefix="" format="%02d" units="FL" /> <field id="ic" tag="" unselected="true" prefix="" /> <field id="gs" tag="---" unselected="true" prefix=" " format="N%03d" units="N" /> <field id="xcop" tag="COPX" unselected="false" prefix=" " action="XCOP" info="EXPLT" /> <field id="rfl" tag="RFL" unselected="false" prefix=" " action="RFL" format="%03d" units="FL" /> </line> <line> <field id="cfl" tag="CFL" unselected="true" prefix="" action="CFL" format="%03d" units="FL" /> <field id="xfl" tag="XFL" unselected="false" prefix=" " action="XFL" info="EXPLT" format="%03d" units="FL" /> <field id="cwp" tag="AHDG" unselected="true" prefix=" " action="CWP" /> <field id="asp" tag="ASP" unselected="true" prefix=" " action="ASP" format="/%03d" units="KTS" /> <field id="ades" tag="" unselected="false" prefix=" " action="FLIGHTPLAN"/> </line> <line> <field id="text" tag="OP_TEXT" unselected="false" prefix="" action="TEXT" /> </line> </default> </airborne> </label> </labels>
Note that this file has not been finalised, format changes may occur