<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/xml/XSLT/appearancetable.xsl" type="text/xsl"?>

<appearancetable
    xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation = "http://jmri.org/xml/schema/appearancetable.xsd"
>

  <copyright xmlns="http://docbook.org/ns/docbook">
    <year>2021</year><holder>JMRI</holder>
  </copyright>
  
  <authorgroup xmlns="http://docbook.org/ns/docbook">
    <author>
        <personname><firstname>Kenneth</firstname><surname>Tjøstheim</surname></personname>

    </author>    
  </authorgroup>

  <revhistory xmlns="http://docbook.org/ns/docbook">
    <revision>
        <revnumber>1</revnumber>
        <date>2021-11-08</date>
        <authorinitials>KT</authorinitials>
        <revremark>Initial Version</revremark>
    </revision>
  </revhistory>
  
  <aspecttable>Norway2001</aspecttable>

  <name>Main 3-lamp over 2 lamp distant Signal</name>
  
  <description>This uses a head with green, red and green and a head with flashing orange and green</description>
  
  <appearances>

    <appearance>
      <aspectname>BlockStop</aspectname>
      <show>flashred</show>  
      <imagelink type="large">../../../resources/icons/NorwegianSignals/Large/3and2-20A.gif</imagelink>
      <imagelink type="aspects">../../../resources/icons/NorwegianSignals/Aspects/20A.gif</imagelink>
    </appearance>
    <appearance>
      <aspectname>Stop</aspectname>
      <show>red</show>  
      <imagelink type="large">../../../resources/icons/NorwegianSignals/Large/3and2-20B.gif</imagelink>
      <imagelink type="aspects">../../../resources/icons/NorwegianSignals/Aspects/20B.gif</imagelink>
    </appearance>
    <appearance>
      <aspectname>Clear</aspectname>
      <show>green</show>
      <show>green</show>
      <imagelink type="large">../../../resources/icons/NorwegianSignals/Large/3and2-22.gif</imagelink>
      <imagelink type="aspects">../../../resources/icons/NorwegianSignals/Aspects/22.gif</imagelink>
    </appearance>
    <appearance>
      <aspectname>Diverging</aspectname>
      <show>green</show>
      <imagelink type="large">../../../resources/icons/NorwegianSignals/Large/3and2-21.gif</imagelink>
      <imagelink type="aspects">../../../resources/icons/NorwegianSignals/Aspects/21.gif</imagelink>
    </appearance>
    <appearance>
      <aspectname>Clear Expect Stop</aspectname>
      <show>green</show>
      <show>green</show>
      <show>flashyellow</show>
      <imagelink type="large">../../../resources/icons/NorwegianSignals/Large/3and2-22and23.gif</imagelink>
      <imagelink type="aspects">../../../resources/icons/NorwegianSignals/Aspects/22and23.gif</imagelink>
    </appearance>
    <appearance>
      <aspectname>Clear Expect Clear</aspectname>
      <show>green</show>
      <show>green</show>
      <show>flashgreen</show>
      <imagelink type="large">../../../resources/icons/NorwegianSignals/Large/3and2-22and25.gif</imagelink>
      <imagelink type="aspects">../../../resources/icons/NorwegianSignals/Aspects/22and25.gif</imagelink>
    </appearance>
    <appearance>
      <aspectname>Clear Expect Diverging</aspectname>
      <show>green</show>
      <show>green</show>
      <show>flashyellow</show>
      <show>flashgreen</show>
      <imagelink type="large">../../../resources/icons/NorwegianSignals/Large/3and2-22and24.gif</imagelink>
      <imagelink type="aspects">../../../resources/icons/NorwegianSignals/Aspects/22and24.gif</imagelink>
    </appearance>
    <appearance>
      <aspectname>Diverging Expect Stop</aspectname>
      <show>green</show>
      <show>flashyellow</show>
      <imagelink type="large">../../../resources/icons/NorwegianSignals/Large/3and2-21and23.gif</imagelink>
      <imagelink type="aspects">../../../resources/icons/NorwegianSignals/Aspects/21and23.gif</imagelink>
    </appearance>
    <appearance>
      <aspectname>Diverging Expect Clear</aspectname>
      <show>green</show>
      <show>flashgreen</show>
      <imagelink type="large">../../../resources/icons/NorwegianSignals/Large/3and2-21and25.gif</imagelink>
      <imagelink type="aspects">../../../resources/icons/NorwegianSignals/Aspects/21and25.gif</imagelink>
    </appearance>
    <appearance>
      <aspectname>Diverging Expect Diverging</aspectname>
      <show>green</show>
      <show>flashyellow</show>
      <show>flashgreen</show>
      <imagelink type="large">../../../resources/icons/NorwegianSignals/Large/3and2-21and24.gif</imagelink>
      <imagelink type="aspects">../../../resources/icons/NorwegianSignals/Aspects/21and24.gif</imagelink>
    </appearance>
    
    <appearance>
      <aspectname>Off</aspectname>
      <show>dark</show>      
      <imagelink type="large">../../../resources/icons/NorwegianSignals/Large/3and2-dark.gif</imagelink>
      <imagelink type="aspects">../../../resources/icons/NorwegianSignals/Aspects/3and2-dark.gif</imagelink>
    </appearance>

  </appearances>
  
  <specificappearances>
    <danger>
      <aspect>Stop</aspect>
    </danger>
    <permissive>
      <aspect>Off</aspect>
    </permissive>
    <held>
      <aspect>Stop</aspect>
    </held>
	<dark>
      <aspect>Off</aspect>
    </dark>
  </specificappearances>
  
  <aspectMappings>
   <aspectMapping>
     <advancedAspect>Stop</advancedAspect>
     <ourAspect>Clear Expect Stop</ourAspect>
     <ourAspect>Diverging Expect Stop</ourAspect>
   </aspectMapping>
   <aspectMapping>
     <advancedAspect>Diverging</advancedAspect>
     <ourAspect>Clear Expect Diverging</ourAspect>
     <ourAspect>Diverging Expect Diverging</ourAspect>
   </aspectMapping>   
   <aspectMapping>
     <advancedAspect>Clear</advancedAspect>
     <ourAspect>Clear Expect Clear</ourAspect>
     <ourAspect>Diverging Expect Clear</ourAspect>
   </aspectMapping>   
   <aspectMapping>
     <advancedAspect>Off</advancedAspect>
     <ourAspect>BlockStop</ourAspect>
     <ourAspect>Stop</ourAspect>
   </aspectMapping>



   <!-- we need to have all possible advanced aspects even though they have nothing to do with our aspect !!!???  -->


  </aspectMappings>
</appearancetable>  
