Class SerialNode

java.lang.Object
jmri.jmrix.AbstractNode
jmri.jmrix.cmri.serial.SerialNode

public class SerialNode
extends AbstractNode
Models a serial C/MRI node, consisting of a (S)USIC and attached cards.

Nodes are numbered ala the UA number, from 1 to 63. Node number 1 carries sensors 1 to 999, node 2 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.

The SMINI is defined as having 1 input and 2 outputs cards.
USIC/SUSIC nodes can have 0-63 inputs and 0-63 output cards, but no more than 64 total cards. A CPNODE (Control Point Node) is defined as having 2 inputs and 2 outputs //c2 on the node board and 0-128 bits of input or output (in 8 bit increments) for added I/O extender cards IOX16,IOX32. A CPMEGA (Open Source Node) is defined as having 8 bytes of input or output //c2 on the node board and 0-128 bits of input or output (in 8 bit increments) for added I/O extender cards IOX16,IOX32.