Interface PtProgrammerViewListener
-
public interface PtProgrammerViewListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Close the dialog.org.bidib.jbidibc.messages.enums.CommandStationStategetCurrentCommandStationState()Get the current state of the command station.voidsendCommandStationStateRequest(boolean activateProgMode)Send the command station state request.voidsendRequest(org.bidib.jbidibc.messages.enums.PtOperation operation, int cvNumber, int cvValue)Send the PT request.
-
-
-
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 operationcvNumber- the CV numbercvValue- 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
-
-