Hal,
toggle quoted message
Show quoted text
In order to understand the internals of signal mast logic does require looking at xml files. When a signal mast is defined in the JMRI Signal Mast table, the?Signal System and Mast Type are selected. ?The same Signal System is used for all of the masts. Each mast type has an appearance-??????.xml file in the signal system directory. ?The <name> element has the user friendly name that is shown in JMRI. The <appearances> section defines what the mast looks like, including the icons to be displayed on a JMRI panel. The <aspectMappings> section defines what aspect should be displayed based on the current aspect of the next signal mast. ?A <aspectMapping> set is defined for each possible aspect as defined in aspects.xml. ?The next aspect name is defined using <advancedAspect>. ?This is followed by one or more <ourAspect> entries using one of the appearances listed in the <appearances> section. If more than one <ourAspect> is listed, then the route and speed values in the aspects.xml file are used to determine the correct aspect for the mast. The speed is based on the Path Speed as shown in the Signaling Mast Pairs SML window. ?This is based on block and turnout speeds. The route is Normal if all turnouts are normal and Diverging if any turnout is diverging. I hope I have not made things more confusing. Dave Sand On Sep 19, 2019, at 7:40 AM, haltz@... wrote: |