Model Railroad System
2.2.2
Overall User Manaual
|
This database is an XML file containing a mapping of Layout Control elements and LCC Event Ids. The database contains turnouts, blocks, signals, sensors, and controls. The LayoutDB to JMRI Tables converter program can convert a Layout Control Database to a JMRI Table file.
The turnout
tag describes a turnout. Child tags include:
name
This holds the name of the turnout.motor
This holds the motor event ids (consumed by the turnout). Under the motor tag are two child tags:normal
This holds the normal event id.reverse
This holds the reverse event id.points
This holds the points sense event ids (produced by the turnout). Under the points tag are two child tags:normal
This holds the normal event id.reverse
This holds the reverse event id.The block
tag describes a block. Child tags include:
name
This holds the name of the block.occupied
This holds the (produced) occupied event id,clear
This holds the (produced) clear event id,The signal
tag describes a signal. Child tags include:
name
This holds the name of the signal.aspect
This holds an aspect of the signal. A signal can have zero or more of these tags. Child tags include:name
This holds the name of the aspect.event
This holds the (consumed) event id to set the aspect.look
This contains the look of the aspect, typicaly a list of colors.The sensor
tag describes a generic sensor. Child tags include:
name
This holds the name of the sensor.on
This holds the (produced) event id when the sensor goes on (is activated).off
This holds the (produced) event id when the sensor goes off (isThe control
tag describes a generic control. Child tags include:
name
This holds the name of the sensor.on
This holds the (consumed) event id to turn the control on (activate).off
This holds the (consumed) event id to turn the control off (deactivated).