Class WsRemoteAnalogOutputConfig

java.lang.Object
org.wildstang.hardware.roborio.outputs.config.WsRemoteAnalogOutputConfig
All Implemented Interfaces:
OutputConfig

public class WsRemoteAnalogOutputConfig extends Object implements OutputConfig
Contains configurations for remote analog outputs.
  • Constructor Details

    • WsRemoteAnalogOutputConfig

      public WsRemoteAnalogOutputConfig(String networktbl, double p_default)
      Construct the remote analog output config.
      Parameters:
      networktbl - Network table name.
      p_default - Default output value.
  • Method Details

    • getTableName

      public String getTableName()
      Returns the network table's name.
      Returns:
      The network table name.
    • getDefault

      public double getDefault()
      Returns the default output value.
      Returns:
      The default value.
    • toString

      public String toString()
      Builds a JSON String describing the remote analog output config.
      Overrides:
      toString in class Object
      Returns:
      Network table name.