Class GPIOSubNode
java.lang.Object
com.tccc.kos.ext.freestyle.hardware.can.subnode.AbstractCANSubNode
com.tccc.kos.ext.freestyle.hardware.can.subnode.GPIOSubNode
- All Implemented Interfaces:
com.tccc.kos.commons.core.service.state.StateAware<GPIOState>
public class GPIOSubNode
extends AbstractCANSubNode
implements com.tccc.kos.commons.core.service.state.StateAware<GPIOState>
Node to access GPIO events within the system.
- Version:
- Jul-1-17
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGPIOSubNode
(CANBoard<?> board, int subNodeId) Create a new GPIO sub node with the specified CANOpen subNodeId. -
Method Summary
-
Field Details
-
DOOR_OPEN
public static final int DOOR_OPEN- See Also:
-
-
Constructor Details
-
GPIOSubNode
Create a new GPIO sub node with the specified CANOpen subNodeId.- Parameters:
board
- the board the sub-node is associated withsubNodeId
- the subNodeId for this node
-
-
Method Details
-
openDoor
Open door.- Throws:
IOException
-
getState
- Specified by:
getState
in interfacecom.tccc.kos.commons.core.service.state.StateAware<GPIOState>
-