Interface PtProgrammerViewListener


public interface PtProgrammerViewListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close the dialog.
    org.bidib.wizard.model.status.CommandStationStatus
    Get the current state of the command station.
    void
    sendCommandStationStateRequest(boolean activateProgMode)
    Send the command station state request.
    void
    sendRequest(org.bidib.jbidibc.messages.enums.PtOperation operation, int cvNumber, int cvValue)
    Send the PT request.
  • Method Details

    • close

      void close()
      Close the dialog.
    • sendRequest

      void sendRequest(org.bidib.jbidibc.messages.enums.PtOperation operation, int cvNumber, int cvValue)
      Send the PT request.
      Parameters:
      operation - the operation
      cvNumber - the CV number
      cvValue - the CV value
    • sendCommandStationStateRequest

      void sendCommandStationStateRequest(boolean activateProgMode)
      Send the command station state request.
      Parameters:
      activateProgMode - activate the PT programming mode
    • getCurrentCommandStationState

      org.bidib.wizard.model.status.CommandStationStatus getCurrentCommandStationState()
      Get the current state of the command station.
      Returns:
      the current command station state