Files
JIMRI/java/test/jmri/configurexml/valid/SignalElementUserNamedTurnoutNotPresent.xml
2026-06-17 14:00:51 +02:00

66 lines
3.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://www.jmri.org/xml/XSLT/panelfile.xsl"?>
<!-- The signal element names its turnout via a user name that's not present -->
<!-- Not so different from a system name, since it's not present, but still... -->
<!-- This file SHOULD BE INVALID, but because JMRI does not enforce the schema
rule this is verifying, that rule has been disabled in schema tests -->
<layout-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/layout-2-9-6.xsd">
<turnouts class="jmri.jmrix.loconet.configurexml.LnTurnoutManagerXml">
<operations automate="false">
<operation name="NoFeedback" class="jmri.configurexml.turnoutoperations.NoFeedbackTurnoutOperationXml" interval="300" maxtries="2" />
<operation name="Raw" class="jmri.configurexml.turnoutoperations.RawTurnoutOperationXml" interval="300" maxtries="1" />
<operation name="Sensor" class="jmri.configurexml.turnoutoperations.SensorTurnoutOperationXml" interval="300" maxtries="3" />
</operations>
<turnout systemName="LT1" feedback="MONITORING" inverted="false" automate="Default">
<systemName>LT1</systemName>
</turnout>
<turnout systemName="LT2" userName="Turnout 2" feedback="MONITORING" inverted="false" automate="Default">
<systemName>LT2</systemName>
<userName>Turnout 2</userName>
<comment>Manual</comment>
</turnout>
</turnouts>
<sensors class="jmri.jmrix.loconet.configurexml.LnSensorManagerXml">
<sensor systemName="LS1" inverted="false" userName="Sensor 1">
<systemName>LS1</systemName>
<comment>SE8c #1</comment>
</sensor>
<sensor systemName="LS2" inverted="false">
<systemName>LS2</systemName>
</sensor>
<sensor systemName="LS3" inverted="false" userName="Sensor 3">
<systemName>LS3</systemName>
<userName>Sensor 3</userName>
</sensor>
</sensors>
<signalheads class="jmri.configurexml.AbstractSignalHeadManagerXml">
<signalhead class="jmri.jmrix.loconet.configurexml.SE8cSignalHeadXml" systemName="LH321" userName="Head 321">
<systemName>LH321</systemName>
<userName>Head 321</userName>
<turnout systemName="321" />
</signalhead>
<signalhead class="jmri.jmrix.loconet.configurexml.SE8cSignalHeadXml" systemName="LH323" userName="Head 323">
<systemName>LH323</systemName>
<userName>Head 323</userName>
<turnout systemName="323" />
</signalhead>
</signalheads>
<signalelements class="jmri.jmrit.blockboss.configurexml.BlockBossLogicXml">
<signalelement signal="LH321" mode="2" watchedturnout="LT2" watchedsignal1="LH321" watchedsignal2="LH323" watchedsensor2="LS305" watchedsensor2alt="LS35" limitspeed1="false" limitspeed2="false" useflashyellow="false" distantsignal="false">
<sensorname>LS305</sensorname>
<sensorname>LS35</sensorname>
<comment />
</signalelement>
<signalelement signal="LH323" mode="3" watchedturnout="Turnout 2 fail" watchedsignal1="LH323" limitspeed1="false" limitspeed2="false" useflashyellow="false" distantsignal="false">
<sensorname>LS35</sensorname>
<comment />
</signalelement>
</signalelements>
<!--Written by JMRI version 2.7.7 on Tue Dec 29 23:34:19 EST 2009 $Id$-->
</layout-config>