Interface PomProgrammerViewListener


  • public interface PomProgrammerViewListener
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Close the dialog.
      boolean sendCommandStationStateRequest​(boolean activate)
      Send the command station state request.
      void sendRequest​(org.bidib.jbidibc.messages.PomAddressData decoderAddress, org.bidib.jbidibc.messages.enums.PomOperation operation, int cvNumber, int cvValue)
      Send the POM request.
    • Method Detail

      • close

        void close()
        Close the dialog.
      • sendRequest

        void sendRequest​(org.bidib.jbidibc.messages.PomAddressData decoderAddress,
                         org.bidib.jbidibc.messages.enums.PomOperation operation,
                         int cvNumber,
                         int cvValue)
        Send the POM request.
        Parameters:
        decoderAddress - the decoder address
        operation - the operation
        cvNumber - the CV number
        cvValue - the CV value
      • sendCommandStationStateRequest

        boolean sendCommandStationStateRequest​(boolean activate)
        Send the command station state request.
        Parameters:
        activate - activate the command station (set to start mode)
        Returns:
        activation command was sent