Class SerialTurnout

    • Constructor Detail

      • SerialTurnout

        public SerialTurnout​(java.lang.String prefix,
                             int number,
                             TmccSystemConnectionMemo memo)
        Create a turnout. TMCC turnouts use the number 1-99 as their numerical identification. The TMCC SC-2 reserves 0 as a special reset address, but the TMCC SC-1 allows 0 to be a turnout; however, the SC-1 documentation examples and callouts all use 1 as the first turnout address.
        Parameters:
        prefix - the connection prefix
        number - the TMCC turnout number from 1 to 99
        memo - the connection memo