<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2001, 2005, 2007, 2-009, 2010 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.xsd">
  <version author="Bob Jacobsen" version="1" lastUpdated="20040712"/>
  <decoder>
    <family name="Wangrow advanced lighting decoders" mfg="Wangrow">
      <model model="DH-104" numOuts="3" maxMotorCurrent="1.4A" formFactor="HO">
        <output name="1" maxcurrent="100 mA"/>
        <output name="2" maxcurrent="100 mA"/>
        <output name="3" maxcurrent="100 mA"/>
        <output name="4" maxcurrent="100 mA"/>
      </model>
    </family>
    <programming direct="no" paged="yes" 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%">
        <decVal/>
        <label>Vstart</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 255 corresponds to 100%</comment>
      </variable>
      <!-- CV 3-4 -->
     <xi:include href="http://jmri.org/xml/decoders/nmra/accelDecel_255.xml"/>
     <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 item="Consist Acceleration Adjustment" CV="23" mask="XVVVVVVV">
        <decVal max="127"/>
        <label>Consist Acceleration Adjustment</label>
      </variable>
      <variable item="Consist Acceleration Adjustment Sign" CV="23" mask="VXXXXXXX">
        <enumVal>
          <enumChoice choice="Adjustment Added">
            <choice>Adjustment Added</choice>
          </enumChoice>
          <enumChoice choice="Adjustment Subtracted">
            <choice>Adjustment Subtracted</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Acceleration Adjustment Sign</label>
      </variable>
      <variable item="Consist Deceleration Adjustment" CV="24" mask="XVVVVVVV">
        <decVal max="127"/>
        <label>Consist Deceleration Adjustment</label>
      </variable>
      <variable item="Consist Deceleration Adjustment Sign" CV="24" mask="VXXXXXXX">
        <enumVal>
          <enumChoice choice="Adjustment Added">
            <choice>Adjustment Added</choice>
          </enumChoice>
          <enumChoice choice="Adjustment Subtracted">
            <choice>Adjustment Subtracted</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Deceleration Adjustment Sign</label>
      </variable>
      <!-- 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"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29AdvAck.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29table3-28.xml"/>
      <variable CV="49" item="Global lighting option 1">
        <decVal/>
        <label>F2, F3 blink control</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
      <variable item="Reverse Trim" CV="95" default="84">
        <decVal/>
        <label>Reverse Trim</label>
      </variable>
    </variables>
  </decoder>
</decoder-config>
