<?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>2009</year>
    <year>2010</year>
    <holder>JMRI</holder>
  </copyright>
  <authorgroup xmlns="http://docbook.org/ns/docbook">
    <author>
      <personname>
        <firstname>Greg</firstname>
        <surname>McCartney</surname>
      </personname>
      <email>gpmccartney@gmail.com</email>
    </author>
  </authorgroup>
  <revhistory xmlns="http://docbook.org/ns/docbook">
    <revision>
      <revnumber>1</revnumber>
      <date>2015-10-19</date>
      <authorinitials>GPM</authorinitials>
      <revremark>Initial version of the signal set.</revremark>
    </revision>
    <revision>
      <revnumber>2</revnumber>
      <date>2016-01-26</date>
      <authorinitials>GPM</authorinitials>
      <revremark>Corrected the aspect mapping to eliminate aspects not possible on this signal.</revremark>
    </revision>
  </revhistory>
  <aspecttable>N&amp;W 1981</aspecttable>
  <name>CPL Permissve Dwarf Signal</name>
  <reference>As described in the 1981 version of the Norfolk and Western Railroad Operating Rules.</reference>
  <description>Appearances for N&amp;W CPL permissive dwarf signals</description>
  <appearances>
    <appearance>
      <aspectname>Slow Clear</aspectname>
      <show>green</show>
      <show>red</show>
      <reference>Page 64</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/NW-1981/NW-CPL-Dwarf-permissive/rule-287_pdwarf.gif</imagelink>
    </appearance>
    <appearance>
      <aspectname>Slow Approach</aspectname>
      <show>yellow</show>
      <show>lunar</show>
      <reference>Page 64</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/NW-1981/NW-CPL-Dwarf-permissive/rule-288_pdwarf.gif</imagelink>
    </appearance>
    <appearance>
      <aspectname>Restricting</aspectname>
      <show>yellow</show>
      <show>red</show>
      <reference>Page 65</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/NW-1981/NW-CPL-Dwarf-permissive/rule-290_pdwarf.gif</imagelink>
    </appearance>
    <appearance>
      <aspectname>Stop and Proceed</aspectname>
      <show>red</show>
      <show>lunar</show>
      <reference>Page 66</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/NW-1981/NW-CPL-Dwarf-permissive/rule-291_pdwarf.gif</imagelink>
    </appearance>
  </appearances>
  <specificappearances>
    <danger>
      <aspect>Stop and Proceed</aspect>
    </danger>
    <held>
      <aspect>Stop and Proceed</aspect>
    </held>
  </specificappearances>
  <aspectMappings>
    <aspectMapping>
      <advancedAspect>Clear</advancedAspect>
      <ourAspect>Slow Clear</ourAspect>
    </aspectMapping>
    <aspectMapping>
      <advancedAspect>Approach Diverging</advancedAspect>
      <ourAspect>Slow Clear</ourAspect>
    </aspectMapping>
    <aspectMapping>
      <advancedAspect>Advance Approach</advancedAspect>
      <ourAspect>Slow Clear</ourAspect>
    </aspectMapping>
    <aspectMapping>
      <advancedAspect>Diverging Clear</advancedAspect>
      <ourAspect>Slow Approach</ourAspect>
    </aspectMapping>
    <aspectMapping>
      <advancedAspect>Diverging Approach Diverging</advancedAspect>
      <ourAspect>Slow Approach</ourAspect>
    </aspectMapping>
    <aspectMapping>
      <advancedAspect>Approach</advancedAspect>
      <ourAspect>Slow Clear</ourAspect>
    </aspectMapping>
    <aspectMapping>
      <advancedAspect>Diverging Approach</advancedAspect>
      <ourAspect>Slow Approach</ourAspect>
    </aspectMapping>
    <aspectMapping>
      <advancedAspect>Slow Clear</advancedAspect>
      <ourAspect>Slow Clear</ourAspect>
    </aspectMapping>
    <aspectMapping>
      <advancedAspect>Slow Approach</advancedAspect>
      <ourAspect>Slow Clear</ourAspect>
    </aspectMapping>
    <aspectMapping>
      <advancedAspect>Restricting</advancedAspect>
      <ourAspect>Slow Approach</ourAspect>
    </aspectMapping>
    <aspectMapping>
      <advancedAspect>Stop and Proceed</advancedAspect>
      <ourAspect>Slow Approach</ourAspect>
    </aspectMapping>
    <aspectMapping>
      <advancedAspect>Stop and Stay</advancedAspect>
      <ourAspect>Slow Approach</ourAspect>
    </aspectMapping>
  </aspectMappings>
</appearancetable>
