Interface LocoControlListener
public interface LocoControlListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidClear loco from refresh buffer of command station.voidsetBinaryState(int state, boolean value) Set the binary state.voidsetFunction(int index, boolean value) Set the function.voidsetSpeed(org.bidib.wizard.model.status.SpeedLevel speedLevel) Set the speed of the decoder.voidsetSpeedSteps(org.bidib.wizard.model.status.SpeedSteps speedSteps) Set the speed steps of the selected decoder-.
-
Method Details
-
setSpeed
void setSpeed(org.bidib.wizard.model.status.SpeedLevel speedLevel) Set the speed of the decoder.- Parameters:
speedLevel- the speed level value
-
setFunction
void setFunction(int index, boolean value) Set the function.- Parameters:
index- the function indexvalue- the function value
-
setBinaryState
void setBinaryState(int state, boolean value) Set the binary state.- Parameters:
state- the state indexvalue- the state value
-
setSpeedSteps
void setSpeedSteps(org.bidib.wizard.model.status.SpeedSteps speedSteps) Set the speed steps of the selected decoder-.- Parameters:
speedSteps- the speed steps
-
clearLoco
void clearLoco()Clear loco from refresh buffer of command station.
-