Interface PtProgrammerControllerListener
-
public interface PtProgrammerControllerListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()org.bidib.jbidibc.messages.enums.CommandStationStategetCurrentCommandStationState(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.jbidibc.messages.enums.CommandStationState 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 Detail
-
close
void close()
-
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.jbidibc.messages.enums.CommandStationState commandStationState)Send the command station state request.- Parameters:
node- the nodecommandStationState- the command station state
-
getCurrentCommandStationState
org.bidib.jbidibc.messages.enums.CommandStationState 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
-
-