Class WsRelayConfig
java.lang.Object
org.wildstang.hardware.roborio.outputs.config.WsRelayConfig
- All Implemented Interfaces:
OutputConfig
Contains configurations for relays.
-
Constructor Summary
ConstructorsConstructorDescriptionWsRelayConfig(int channel, WsRelayState p_default) Construct the relay config. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the hardware port number.Returns the default relay state.toString()Builds a JSON String describing the relay config.
-
Constructor Details
-
WsRelayConfig
Construct the relay config.- Parameters:
channel- Hardware port number.p_default- Default relay state.
-
-
Method Details