Class MarklinSensor

  • All Implemented Interfaces:
    java.lang.Comparable<NamedBean>, PropertyChangeProvider, DigitalIO, NamedBean, Sensor

    public class MarklinSensor
    extends AbstractSensor
    Implement a Sensor via Marklin communications.

    This object doesn't listen to the Marklin communications. This is because the sensor manager will handle all the messages as some sensor updates will come bundled together in one message. It also saves having multiple sensor beans each having to decoder the same message which would be better off being done in one location.

    • Constructor Detail

      • MarklinSensor

        public MarklinSensor​(java.lang.String systemName,
                             java.lang.String userName)
      • MarklinSensor

        public MarklinSensor​(java.lang.String systemName)
    • Method Detail

      • requestUpdateFromLayout

        public void requestUpdateFromLayout()
        Description copied from interface: DigitalIO
        Request an update from the layout soft/hardware. May not even happen, and if it does it will happen later; listen for the result.