<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2006 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" showEmptyPanes="no" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder-4-15-2.xsd">
  <version version="2.1" author="Ronald Kuhn" lastUpdated="20260911"/>
  <!--  Decoder files renamed for sorted display   -->
  <version version="2" author="Pierre Billon" lastUpdated="20260727"/>
  <!--  Corrected the SH05A model comment  -->
  <version version="1.1" author="Ronald Kuhn" lastUpdated="20230731"/>
  <!--  Added update paths to newest fw 1.15.112 -->
  <version version="1" author="Pierre Billon" lastUpdated="20210312"/>
  <!--  Creation, based on Doehler_Haass_susi_sd_SH10A.xml
        -->
  <decoder>
    <family name="SUSI sound modules (2020)" mfg="Doehler und Haass">
      <model model="SH05A (firmware 1.14.050+)" replacementModel="SH05A (firmware 1.15.112+)" replacementFamily="query:SUSI sound modules (2022)" lowVersionID="50" highVersionID="50" numOuts="2" numFns="30" productID="50" comment="SH05A with firmware 1.14 or later" maxInputVolts="30V" connector="SUSI">
        <output name="1" label="AUX|1" maxcurrent="20mA"/>
        <output name="2" label="AUX|2" maxcurrent="20mA"/>
        <size length="14.3" width="9.3" height="2.9" units="mm"/>
      </model>
      <model model="SH10A (firmware 1.14.050+)" replacementModel="SH10A (firmware 1.15.112+)" replacementFamily="query:SUSI sound modules (2022)" lowVersionID="50" highVersionID="50" numOuts="2" numFns="30" productID="100" comment="SH10A with firmware 1.14 or later" maxInputVolts="30V" connector="SUSI">
        <output name="1" label="AUX|1" maxcurrent="20mA"/>
        <output name="2" label="AUX|2" maxcurrent="20mA"/>
        <size length="20" width="12" height="1.9" units="mm"/>
      </model>
    </family>
    <programming direct="yes" paged="no" register="no" ops="yes"/>
    <variables>
      <!-- Common D&H sound variable files -->
      <!-- Address CVs of master decoder -->
      <xi:include href="http://jmri.org/xml/decoders/doehler_haass/Susi-SD_address.xml"/>
      <!-- Identification CVs  -->
      <xi:include href="http://jmri.org/xml/decoders/doehler_haass/Susi-SD_cv900-905.xml"/>
      <!-- Mapping & volume CVs  -->
      <xi:include href="http://jmri.org/xml/decoders/doehler_haass/SD_cv311-348_911-948.xml"/>
      <!-- Settings CVs  -->
      <xi:include href="http://jmri.org/xml/decoders/doehler_haass/SD_cv351-359_951-959.xml"/>
      <!-- CVs added in fw 1.01  -->
      <xi:include href="http://jmri.org/xml/decoders/doehler_haass/SD_cv360-362_960-962.xml"/>
      <!-- CVs added in fw 1.01, 1.02, 1.03, 1.04  -->
      <xi:include href="http://jmri.org/xml/decoders/doehler_haass/SD_cv364-373_964-973.xml"/>
      <!-- CVs added in fw 1.02  -->
      <xi:include href="http://jmri.org/xml/decoders/doehler_haass/SD_cv350_950.xml"/>
      <!-- CVs added in fw 1.05  -->
      <xi:include href="http://jmri.org/xml/decoders/doehler_haass/SD_cv349_949.xml"/>
      <!-- CVs added in fw 1.06  -->
      <xi:include href="http://jmri.org/xml/decoders/doehler_haass/SD_cv374-377_974-977.xml"/>
      <!-- CVs added in fw 1.07  -->
      <xi:include href="http://jmri.org/xml/decoders/doehler_haass/Susi-SD_cv908-909.xml"/>
    </variables>
    <resets>
      <factReset label="Reset All CVs" CV="900" default="101">
         <label xml:lang="it">Reset delle CV ai valori di fabbrica</label>
          <label xml:lang="fr">Reset - retour aux valeurs d'usine pour tous les CVs</label>
          <label xml:lang="ca">Reset a valors de fàbrica</label>
      </factReset>
    </resets>
  </decoder>
  <!-- Pane for AUX outputs (valid from fw 1.07)  -->
  <xi:include href="http://jmri.org/xml/decoders/doehler_haass/Pane_susi_aux.xml"/>
</decoder-config>
