96 lines
4.4 KiB
XML
96 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
|
|
<!-- Copyright (C) JMRI 2004 All rights reserved -->
|
|
<!-- -->
|
|
<!-- JMRI is free software; you can redistribute it and/or modify it under -->
|
|
<!-- the terms of version 2 of the GNU General Public License as published -->
|
|
<!-- by the Free Software Foundation. See the "COPYING" file for a copy -->
|
|
<!-- of this license. -->
|
|
<!-- -->
|
|
<!-- JMRI is distributed in the hope that it will be useful, but WITHOUT -->
|
|
<!-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -->
|
|
<!-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -->
|
|
<!-- for more details. -->
|
|
<decoder-config xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder-4-15-2.xsd">
|
|
<version author="Glen Colbert" version=".5" lastUpdated="20040125"/>
|
|
<decoder>
|
|
<family name="MRC AD370 Sound decoders" mfg="MRC" comment="MRC Sound Decoders" lowVersionID="32">
|
|
<model model="AD370" numOuts="4" numFns="8">
|
|
<versionCV lowVersionID="32"/>
|
|
<output name="Bell"/>
|
|
<output name="Horn"/>
|
|
<output name="SHorn"/>
|
|
<output name="3" label="F5/grn"/>
|
|
<output name="4" label="F6/brwn"/>
|
|
<output name="Coupler"/>
|
|
<output name="Mute"/>
|
|
<!-- The four electical outputs are front headlight, back -->
|
|
<!-- headlight, F5, F6 -->
|
|
</model>
|
|
</family>
|
|
<programming direct="no" paged="yes" register="no" ops="yes"/>
|
|
<variables>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
|
|
<!-- Register 2 -->
|
|
<variable CV="2" item="Vstart" comment="A value of 32 corresponds to 100%">
|
|
<decVal max="32"/>
|
|
<label>Start Volts</label>
|
|
<label xml:lang="it">Volt Partenza</label>
|
|
<label xml:lang="fr">V démarr.</label>
|
|
<label xml:lang="de">Startspannung</label>
|
|
<comment>A value of 32 corresponds to 100%</comment>
|
|
</variable>
|
|
<variable CV="5" item="Vhigh" comment="A value of 32 corresponds to 100%">
|
|
<decVal max="32"/>
|
|
<label>Max Volts</label>
|
|
<label xml:lang="it">Volt Massimi (0-32):</label>
|
|
<label xml:lang="de">Höchstgeschwindigkeit</label>
|
|
<comment>A value of 32 corresponds to 100%</comment>
|
|
</variable>
|
|
<!-- CV 3-4 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/accelDecel.xml"/>
|
|
<!-- Register 5 -->
|
|
<!-- CV=29 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29direction.xml"/>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29speedSteps.xml"/>
|
|
<!-- CV 7-8 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/mfgVersionId.xml"/>
|
|
<!-- CV=19 -->
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
|
|
<variable CV="64" item="Output 1 effect generated" mask="XXXXXXXV" default="0">
|
|
<enumVal>
|
|
<enumChoice choice="Special Effect">
|
|
<choice>Special Effect</choice>
|
|
<choice xml:lang="it">Effetto Speciale</choice>
|
|
</enumChoice>
|
|
<enumChoice choice="Normal Effect">
|
|
<choice>Normal Effect</choice>
|
|
<choice xml:lang="it">Effetto Normale</choice>
|
|
</enumChoice>
|
|
</enumVal>
|
|
<label>Light Effect Setting</label>
|
|
<label xml:lang="it">Effetti Luci</label>
|
|
</variable>
|
|
<xi:include href="http://jmri.org/xml/decoders/nmra/userId.xml"/>
|
|
<!-- They have to be here somewhere...
|
|
<variable label="AirHorn Volume" CV="60" mask="XXXXVVVV"
|
|
item="Sound Setting 3" default="8" >
|
|
<decVal max="15"/>
|
|
</variable>
|
|
<variable label="Bell Volume" CV="60" mask="VVVVXXXX"
|
|
item="Sound Setting 4" default="6">
|
|
<decVal max="15"/>
|
|
</variable>
|
|
<variable label="Exhaust Volume" CV="61" mask="XXXXVVVV"
|
|
item="Sound Setting 5" default="6">
|
|
<decVal max="15"/>
|
|
</variable>
|
|
<variable label="Dynamic Brake Volume" CV="61" mask="VVVVXXXX"
|
|
item="Sound Setting 6" default="7">
|
|
<decVal max="15"/>
|
|
</variable>
|
|
-->
|
|
</variables>
|
|
</decoder>
|
|
</decoder-config>
|