Interface PtProgrammerControllerListener


public interface PtProgrammerControllerListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close the view.
    org.bidib.wizard.model.status.CommandStationStatus
    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.wizard.model.status.CommandStationStatus 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 Details

    • close

      void close()
      Close the view.
    • 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.wizard.model.status.CommandStationStatus commandStationState)
      Send the command station state request.
      Parameters:
      node - the node
      commandStationState - the command station state
    • getCurrentCommandStationState

      org.bidib.wizard.model.status.CommandStationStatus 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