Class WsDigitalOutput


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

      • WsDigitalOutput

        public WsDigitalOutput​(java.lang.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 Detail

      • 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.