Class WsDigitalOutput


public class WsDigitalOutput extends DigitalOutput
Controls a generic digital output.
  • Constructor Details

    • WsDigitalOutput

      public WsDigitalOutput(String name, int channel, boolean p_default)
      Constructs the output from config.
      Parameters:
      name - Descriptive name of the output.
      channel - Hardware port number the output is connected to.
      p_default - Default state.
  • Method Details

    • sendDataToOutput

      protected void sendDataToOutput()
      Sets output state to current value.
      Specified by:
      sendDataToOutput in class Output
    • notifyConfigChange

      public void notifyConfigChange()
      Does nothing, config values only affects start state.