Interface PtProgrammerViewListener
public interface PtProgrammerViewListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the dialog.org.bidib.wizard.model.status.CommandStationStatusGet 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 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 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.wizard.model.status.CommandStationStatus getCurrentCommandStationState()Get the current state of the command station.- Returns:
- the current command station state
-