Interface PtProgrammerControllerListener
public interface PtProgrammerControllerListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the view.org.bidib.wizard.model.status.CommandStationStatusgetCurrentCommandStationState(org.bidib.wizard.api.model.NodeInterface node) Get the current state of the command station.voidsendCommandStationStateRequest(org.bidib.wizard.api.model.NodeInterface node, org.bidib.wizard.model.status.CommandStationStatus commandStationState) Send the command station state request.voidsendRequest(org.bidib.wizard.api.model.NodeInterface node, org.bidib.jbidibc.messages.enums.CommandStationPt opCode, int cvNumber, int cvValue) Send the PT request.
-
Method Details
-
close
void close()Close the view. -
sendRequest
void sendRequest(org.bidib.wizard.api.model.NodeInterface node, org.bidib.jbidibc.messages.enums.CommandStationPt opCode, int cvNumber, int cvValue) Send the PT request.- Parameters:
node- the nodeopCode- the op codecvNumber- the CV numbercvValue- the CV value
-
sendCommandStationStateRequest
void sendCommandStationStateRequest(org.bidib.wizard.api.model.NodeInterface node, org.bidib.wizard.model.status.CommandStationStatus commandStationState) Send the command station state request.- Parameters:
node- the nodecommandStationState- the command station state
-
getCurrentCommandStationState
org.bidib.wizard.model.status.CommandStationStatus getCurrentCommandStationState(org.bidib.wizard.api.model.NodeInterface node) Get the current state of the command station.- Parameters:
node- the node- Returns:
- the current command station state
-