Class WsRemoteDigitalOutputConfig
java.lang.Object
org.wildstang.hardware.roborio.outputs.config.WsRemoteDigitalOutputConfig
- All Implemented Interfaces:
OutputConfig
Contains configurations for remote digital outputs.
-
Constructor Summary
ConstructorsConstructorDescriptionWsRemoteDigitalOutputConfig(String networktbl, boolean p_default) Construct the remote digital output config. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the default output value.Returns the network table's name.toString()Builds a JSON String describing the remote digital output config.
-
Constructor Details
-
WsRemoteDigitalOutputConfig
Construct the remote digital output config.- Parameters:
networktbl- Network table name.p_default- Default output value.
-
-
Method Details
-
getTableName
Returns the network table's name.- Returns:
- The network table name.
-
getDefault
public boolean getDefault()Returns the default output value.- Returns:
- The default value.
-
toString
Builds a JSON String describing the remote digital output config.
-