Interface PtProgrammerViewListener


  • public interface PtProgrammerViewListener
    • Method Detail

      • 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.jbidibc.messages.enums.CommandStationState getCurrentCommandStationState()
        Get the current state of the command station.
        Returns:
        the current command station state