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 Details

  • Constructor Details

    • GPIOSubNode

      public GPIOSubNode(CANBoard<?> board, int subNodeId)
      Create a new GPIO sub node with the specified CANOpen subNodeId.
      Parameters:
      board - the board the sub-node is associated with
      subNodeId - the subNodeId for this node
  • Method Details

    • openDoor

      public void openDoor() throws IOException
      Open door.
      Throws:
      IOException
    • getState

      public GPIOState getState()
      Specified by:
      getState in interface com.tccc.kos.commons.core.service.state.StateAware<GPIOState>