Class AcelaNode


  • public class AcelaNode
    extends AbstractNode
    Models an Acela node.

    Nodes are numbered from 0. The first watchman node carries the first 8 sensors 0 to 7, etc.

    The array of sensor states is used to update sensor known state only when there's a change on the serial bus. This allows for the sensor state to be updated within the program, keeping this updated state until the next change on the serial bus. E.g. you can manually change a state via an icon, and not have it change back the next time that node is polled.

    Same applies to the outputs (Dash-8s and Signalmen)