<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="../../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>Dick</firstname><surname>Bronson</surname></personname>
        <email>dick@rr-cirkits.com</email>
    </author>    
    <author>
        <personname><firstname>Bob</firstname><surname>Jacobsen</surname></personname>
        <email>jake@physics.berkeley.edu</email>
    </author>    
  </authorgroup>

  <revhistory xmlns="http://docbook.org/ns/docbook">
    <revision>
        <revnumber>1</revnumber>
        <date>2009-12-27</date>
        <authorinitials>DB</authorinitials>
        <revremark>More appearances</revremark>
    </revision>    
    <revision>
        <revnumber>1.1</revnumber>
        <date>2010-01-01</date>
        <authorinitials>RGJ</authorinitials>
        <revremark>Add author and revision info</revremark>
    </revision>    
    <revision>
        <revnumber>1.2</revnumber>
        <date>2011-06-24</date>
        <authorinitials>DB</authorinitials>
        <revremark>Added mapping information</revremark>
     </revision>
    <revision>
         <revnumber>1.3</revnumber>
        <date>2011-12-06</date>
        <authorinitials>KC</authorinitials>
        <revremark>Normalize all aspect names to not have hyphens</revremark>
    </revision>
 </revhistory>

  <aspecttable>B&amp;O 1957</aspecttable>
  <name>Triple searchlight high signal</name>
  <reference>As described in the August 1946 version of the AAR publication "American Railway Signaling Principles and Practices", chapter II.</reference>
  <description>Appearances for a three-searchlight signal head without other badging</description>
  
  <appearances>

    <appearance>
      <aspectname>Clear Alt</aspectname>
      <show>green</show>
      <show>green</show>
      <show>red</show>
      <reference>Page 42 D</reference>
      <comment>Unofficial Rule and Aspect Name to allow for optional appearance</comment>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-281-alt.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Clear</aspectname>
      <show>green</show>
      <show>red</show>
      <show>red</show>
      <reference>Page 42 A</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-281.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Advance Approach Medium</aspectname>
      <show>green</show>
      <show>yellow</show>
      <show>red</show>
      <reference>Page 42 A</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-281A.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Approach Limited</aspectname>
      <show>yellow</show>
      <show>green</show>
      <show>green</show>
      <reference>Page 43</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-281B.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Limited Clear</aspectname>
      <show>red</show>
      <show>green</show>
      <show>green</show>
      <reference>Page 43</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-281C.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Approach Medium</aspectname>
      <show>yellow</show>
      <show>green</show>
      <show>red</show>
      <reference>Page 44 A</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-282.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Advance Approach</aspectname>
      <show>yellow</show>
      <show>yellow</show>
      <show>red</show>
      <reference>Page 44 A</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-282A.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Medium Clear</aspectname>
      <show>red</show>
      <show>green</show>
      <show>red</show>
      <reference>Page 45 A</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-283.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Medium Advance Approach</aspectname>
      <show>red</show>
      <show>yellow</show>
      <show>yellow</show>
      <reference>Page 45</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-283A.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Medium Approach Slow</aspectname>
      <show>red</show>
      <show>yellow</show>
      <show>green</show>
      <reference>Page 46</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-283B.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Approach Slow</aspectname>
      <show>yellow</show>
      <show>red</show>
      <show>green</show>
      <reference>Page 46</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-284.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Approach</aspectname>
      <show>yellow</show>
      <show>red</show>
      <show>red</show>
      <reference>Page 47 A</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-285.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Medium Approach</aspectname>
      <show>red</show>
      <show>yellow</show>
      <show>red</show>
      <reference>Page 47</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-286.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Slow Clear</aspectname>
      <show>red</show>
      <show>red</show>
      <show>green</show>
      <reference>Page 48 A</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-287.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Slow Approach</aspectname>
      <show>red</show>
      <show>red</show>
      <show>yellow</show>
      <reference>Page 48 A</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-288.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Restricting</aspectname>
      <show>red</show>
      <show>red</show>
      <show>yellow</show>
      <reference>Page 49 A</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-290.gif</imagelink>
    </appearance>

    <appearance>
      <aspectname>Stop</aspectname>
      <show>red</show>
      <show>red</show>
      <show>red</show>
      <reference>Page 50 A</reference>
      <imagelink>../../../resources/icons/smallschematics/aspects/AAR-1946/SL-3-high/rule-292.gif</imagelink>
    </appearance>

  </appearances>
  <specificappearances>
    <danger>
      <aspect>Stop</aspect>
    </danger>
    <held>
      <aspect>Stop</aspect>
    </held>
  </specificappearances>

  <aspectMappings>
    <aspectMapping>
      <advancedAspect>Clear</advancedAspect>
      <ourAspect>Clear</ourAspect>
      <ourAspect>Limited Clear</ourAspect>
      <ourAspect>Medium Clear</ourAspect>
      <ourAspect>Slow Clear</ourAspect>
    </aspectMapping>

    <aspectMapping>
      <advancedAspect>Advance Approach Medium</advancedAspect>
      <ourAspect>Clear</ourAspect>
      <ourAspect>Limited Clear</ourAspect>
      <ourAspect>Medium Clear</ourAspect>
      <ourAspect>Slow Clear</ourAspect>
    </aspectMapping>

    <aspectMapping>
      <advancedAspect>Approach Limited</advancedAspect>
      <ourAspect>Clear</ourAspect>
      <ourAspect>Limited Clear</ourAspect>
      <ourAspect>Medium Clear</ourAspect>
      <ourAspect>Slow Clear</ourAspect>
    </aspectMapping>

    <aspectMapping>
      <advancedAspect>Limited Clear</advancedAspect>
      <ourAspect>Medium Approach Slow</ourAspect>
    </aspectMapping>

    <aspectMapping>
      <advancedAspect>Approach Medium</advancedAspect>
      <ourAspect>Approach Limited</ourAspect>
      <ourAspect>Approach Medium</ourAspect>
    </aspectMapping>

    <aspectMapping>
      <advancedAspect>Advance Approach</advancedAspect>
      <ourAspect>Clear</ourAspect>
      <ourAspect>Approach Limited</ourAspect>
      <ourAspect>Limited Clear</ourAspect>
      <ourAspect>Medium Clear</ourAspect>
      <ourAspect>Slow Clear</ourAspect>
      <ourAspect>Approach Medium</ourAspect>
    </aspectMapping>

    <aspectMapping>
      <advancedAspect>Medium Clear</advancedAspect>
      <ourAspect>Approach Medium</ourAspect>
      <ourAspect>Medium Approach Slow</ourAspect>
    </aspectMapping>

    <aspectMapping>
      <advancedAspect>Medium Advance Approach</advancedAspect>
      <ourAspect>Medium Approach Slow</ourAspect>
    </aspectMapping>

    <aspectMapping>
      <advancedAspect>Medium Approach Slow</advancedAspect>
      <ourAspect>Medium Approach Slow</ourAspect>
    </aspectMapping>

    <aspectMapping>
      <advancedAspect>Approach Slow</advancedAspect>
      <ourAspect>Approach Medium</ourAspect>
    </aspectMapping>

    <aspectMapping>
      <advancedAspect>Approach</advancedAspect>
      <ourAspect>Approach Medium</ourAspect>
      <ourAspect>Advance Approach</ourAspect>
      <ourAspect>Medium Advance Approach</ourAspect>
    </aspectMapping>

    <aspectMapping>
      <advancedAspect>Medium Approach</advancedAspect>
      <ourAspect>Approach Medium</ourAspect>
      <ourAspect>Medium Advance Approach</ourAspect>
    </aspectMapping>

    <aspectMapping>
      <advancedAspect>Slow Clear</advancedAspect>
      <ourAspect>Medium Approach Slow</ourAspect>
      <ourAspect>Medium Advance Approach</ourAspect>
      <ourAspect>Medium Approach</ourAspect>
    </aspectMapping>

     <aspectMapping>
      <advancedAspect>Restricting</advancedAspect>
      <ourAspect>Medium Approach</ourAspect>
      <ourAspect>Slow Approach</ourAspect>
      <ourAspect>Approach</ourAspect>
    </aspectMapping>

     <aspectMapping>
      <advancedAspect>Stop</advancedAspect>
      <ourAspect>Medium Approach</ourAspect>
      <ourAspect>Slow Approach</ourAspect>
      <ourAspect>Approach</ourAspect>
    </aspectMapping>

  </aspectMappings>
</appearancetable>  
