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

30 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://www.jmri.org/xml/XSLT/panelfile.xsl"?>
<!-- catch a user name set that duplicates a system name -->
<!-- this test SHOULD BE invalid, but because JMRI never actually enforced this
rule, panels have shown up in the wild that force us to disable the schema
test that this panel is verifying -->
<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="LT1" feedback="MONITORING" inverted="false" automate="Default">
<systemName>LT2</systemName>
<userName>LT1</userName>
<comment>Manual</comment>
</turnout>
</turnouts>
<!--Written by JMRI version 2.7.7 on Tue Dec 29 23:34:19 EST 2009 $Id$-->
</layout-config>