Interface PtProgrammerControllerListener


  • public interface PtProgrammerControllerListener
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()  
      org.bidib.jbidibc.messages.enums.CommandStationState getCurrentCommandStationState​(org.bidib.wizard.api.model.NodeInterface node)
      Get the current state of the command station.
      void sendCommandStationStateRequest​(org.bidib.wizard.api.model.NodeInterface node, org.bidib.jbidibc.messages.enums.CommandStationState commandStationState)
      Send the command station state request.
      void sendRequest​(org.bidib.wizard.api.model.NodeInterface node, org.bidib.jbidibc.messages.enums.CommandStationPt opCode, int cvNumber, int cvValue)
      Send the PT request.
    • Method Detail

      • close

        void close()
      • sendRequest

        void sendRequest​(org.bidib.wizard.api.model.NodeInterface node,
                         org.bidib.jbidibc.messages.enums.CommandStationPt opCode,
                         int cvNumber,
                         int cvValue)
        Send the PT request.
        Parameters:
        node - the node
        opCode - the op code
        cvNumber - the CV number
        cvValue - the CV value
      • sendCommandStationStateRequest

        void sendCommandStationStateRequest​(org.bidib.wizard.api.model.NodeInterface node,
                                            org.bidib.jbidibc.messages.enums.CommandStationState commandStationState)
        Send the command station state request.
        Parameters:
        node - the node
        commandStationState - the command station state
      • getCurrentCommandStationState

        org.bidib.jbidibc.messages.enums.CommandStationState getCurrentCommandStationState​(org.bidib.wizard.api.model.NodeInterface node)
        Get the current state of the command station.
        Parameters:
        node - the node
        Returns:
        the current command station state