Class SerialSensor

All Implemented Interfaces:
Comparable<NamedBean>, PropertyChangeProvider, DigitalIO, NamedBean, Sensor

public class SerialSensor
extends AbstractSensor
Implement Sensor for Grapevine.

Really doesn't do much, because the abstract class and the SerialSensorManager do all the work in a node-based system.

  • Constructor Details

    • SerialSensor

      public SerialSensor​(String systemName, GrapevineSystemConnectionMemo _memo)
      Create a Sensor object, with both system and user names.
      Parameters:
      systemName - system name including prefix, previously validated in SerialSensorManager
      _memo - the associated SystemConnectionMemo
    • SerialSensor

      public SerialSensor​(String systemName, String userName, GrapevineSystemConnectionMemo _memo)
      Create a Sensor object, with both system and user names.
      Parameters:
      systemName - system name including prefix, previously validated in SerialSensorManager
      userName - free form name
      _memo - the associated SystemConnectionMemo
  • Method Details

    • requestUpdateFromLayout

      public void requestUpdateFromLayout()
      Request an update on status.

      Since status is continually being updated, this isn't active now. Eventually, we may want to have this move the related AIU to the top of the polling queue.