Files
2026-06-17 14:00:51 +02:00

107 lines
5.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2005 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" showEmptyPanes="no">
<version author="Alain Le Marchand" version="2" lastUpdated="20150428"/>
<version author="Alain Carasso" version="1" lastUpdated="20120618"/>
<!-- version 2 - Renamed "Trix_Sound_HO" to "Trix Sound HO"
(decoder with same name as family doesn't appear in the tree) -->
<!-- Full refactoring using xinclude files and existing items for display -->
<decoder>
<family name="Trix_Sound_HO" mfg="Trix Modelleisenbahn">
<model show="no" model="Trix_Sound_HO" replacementModel="Trix Sound HO" replacementFamily="Trix_Sound_HO"/>
<model model="Trix Sound HO" formFactor="HO" comment="Generic Trix HO with Sound"/>
<functionlabels>
<functionlabel num="0" lockable="true">Lights</functionlabel>
<functionlabel num="1" lockable="true"></functionlabel>
<functionlabel num="2" lockable="true"></functionlabel>
<functionlabel num="3" lockable="true"></functionlabel>
<functionlabel num="4" lockable="true"></functionlabel>
<functionlabel num="5" lockable="true"></functionlabel>
</functionlabels>
</family>
<programming direct="yes" paged="no" register="yes" ops="yes"/>
<variables>
<xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
<variable item="Vstart" CV="2" comment="A value of 255 corresponds to 100%" default="0">
<decVal max="255"/>
<label>Vstart</label>
<label xml:lang="it">Volt Partenza</label>
<label xml:lang="fr">V démarr.</label>
<label xml:lang="de">Anfahrspannung</label>
</variable>
<variable CV="3" item="Accel" default="0">
<decVal max="255"/>
<label>Acceleration Rate</label>
<label xml:lang="it">Accellerazione (0-255)</label>
<label xml:lang="fr">Accelération (0-255)</label>
<label xml:lang="de">Anfahrverzögerung (0-255)</label>
</variable>
<variable CV="4" item="Decel" default="0">
<decVal max="255"/>
<label>Deceleration Rate</label>
<label xml:lang="it">Decellerazione (0-255)</label>
<label xml:lang="fr">Décélération (0-255)</label>
<label xml:lang="de">Bremszeit (0-255)</label>
</variable>
<variable CV="5" item="Vhigh" default="255">
<decVal max="255"/>
<label>Vhigh</label>
<label xml:lang="it">Volt Massimi (0-255):</label>
<label xml:lang="fr">Vmax</label>
<label xml:lang="de">Höchstgeschwindigkeit</label>
</variable>
<variable CV="7" item="Decoder Version" readOnly="yes" default="7">
<decVal/>
<label xml:lang="it">Versione Decoder: </label>
<label xml:lang="fr">Version décodeur: </label>
<label xml:lang="de">Decoder Version: </label>
<label>Manufacturer Version No: </label>
</variable>
<variable CV="8" default="131" item="Manufacturer" readOnly="yes">
<decVal/>
<label xml:lang="it">ID Costruttore: </label>
<label xml:lang="fr">ID constructeur: </label>
<label xml:lang="de">Hersteller ID: </label>
<label>Manufacturer ID: </label>
<tooltip>Read-Only, 131 = Trix</tooltip>
</variable>
<!-- CV 13-14 -->
<xi:include href="http://jmri.org/xml/decoders/nmra/analogModeFunction_F15.xml"/>
<!-- CV=19 -->
<xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
<!-- CV 21-22 -->
<xi:include href="http://jmri.org/xml/decoders/nmra/cv21.22_F15.xml"/>
<!-- CV 29 -->
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29direction.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29speedSteps.xml"/>
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29analog.xml"/>
<!-- Volume -->
<variable CV="63" item="Sound Setting 1" default="255">
<decVal max="255"/>
<label>Sound Volume</label>
<label xml:lang="fr">Volume</label>
<label xml:lang="de">Lautstärke</label>
<tooltip>0-255</tooltip>
</variable>
</variables>
<resets>
<factReset label="Reset All CVs" CV="8" default="8">
<label xml:lang="fr">Reset - retour aux valeurs d'usine pour tous les CVs</label>
<label xml:lang="it">Reset delle CV ai valori di fabbrica</label>
<label xml:lang="de">Werkreset alle CVs</label>
</factReset>
</resets>
</decoder>
</decoder-config>