104 lines
5.5 KiB
XML
104 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="Bruno C Sanches" version="1" lastUpdated="20240408"/>
|
|
<decoder>
|
|
<family name="Trix_Sound_HO" mfg="Trix Modelleisenbahn" lowVersionID="159" highVersionID="159">
|
|
<model show="no" model="Trix_Sound_HO_BR23_22230" replacementModel="Trix Sound BR23 (22230)" replacementFamily="Trix_Sound_HO_BR23_22230"/>
|
|
<model model="Trix Sound BR23 (22230)" formFactor="HO" comment="Trix HO for BR23 (22230) with Sound"/>
|
|
<functionlabels>
|
|
<functionlabel num="0" lockable="true">Lights</functionlabel>
|
|
<functionlabel num="1" lockable="true">Smoke Generator</functionlabel>
|
|
<functionlabel num="2" lockable="true">Sound</functionlabel>
|
|
<functionlabel num="3" lockable="false">Whistle</functionlabel>
|
|
<functionlabel num="4" lockable="true">ABV</functionlabel>
|
|
<functionlabel num="5" lockable="true">Air Pump</functionlabel>
|
|
<functionlabel num="6" lockable="true">Coal Shoveling</functionlabel>
|
|
<functionlabel num="7" lockable="false">Short Whistle</functionlabel>
|
|
<functionlabel num="8" lockable="true">Air</functionlabel>
|
|
<functionlabel num="10" lockable="false">Grate</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="5">
|
|
<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="3">
|
|
<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="MaximumSpeed" default="7">
|
|
<decVal min="1" max="7"/>
|
|
<label>Maximum Speed</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="902" item="Sound Setting 1" default="160">
|
|
<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>
|