Class SerialNode


  • public class SerialNode
    extends AbstractNode
    Models a serial node.

    Nodes are numbered ala their address, from 0 to 255. Node number 1 carries sensors 1 to 999, node 2 carries 1001 to 1999 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.