Interface LocoControlListener


public interface LocoControlListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clear loco from refresh buffer of command station.
    void
    setBinaryState(int state, boolean value)
    Set the binary state.
    void
    setFunction(int index, boolean value)
    Set the function.
    void
    setSpeed(org.bidib.wizard.model.status.SpeedLevel speedLevel)
    Set the speed of the decoder.
    void
    setSpeedSteps(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 index
      value - the function value
    • setBinaryState

      void setBinaryState(int state, boolean value)
      Set the binary state.
      Parameters:
      state - the state index
      value - 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.