Class SimulatorAdapter

  • All Implemented Interfaces:
    java.lang.Runnable, PortAdapter, SerialPortAdapter

    public class SimulatorAdapter
    extends SerialPortController
    implements java.lang.Runnable
    Provide access to a simulated Grapevine system.

    Currently, the Grapevine SimulatorAdapter reacts to the following commands sent from the user interface with an appropriate reply generateReply(SerialMessage):

    • Software version (poll)
    • Renumber (displays dialog: not supported)
    • Node Init (2 replies + user configurable node-bank-bit status)
    • Set signal/sensor/turnout (echoes message)
    Based on jmri.jmrix.lenz.xnetsimulator.XNetSimulatorAdapter / EasyDCCSimulatorAdapter 2017

    NOTE: Some material in this file was modified from other portions of the support infrastructure.