Class Engineer.ThrottleRamp

java.lang.Object
java.lang.Thread
jmri.jmrit.logix.Engineer.ThrottleRamp
All Implemented Interfaces:
Runnable
Enclosing class:
Engineer

  • Field Details

  • Constructor Details

  • Method Details

    • quit

      void quit(boolean die)
    • setParameters

      void setParameters(String endSpeedType, int endBlockIdx)
    • duplicate

      boolean duplicate(String endSpeedType, int endBlockIdx)
    • getEndBlockIndex

    • getCommandIndexLimit

      int getCommandIndexLimit(int blockIdx, int cmdIdx)
      Parameters:
      blockIdx - index of block order where ramp finishes
      cmdIdx - current command index
      Returns:
      command index of block where commands should not be executed
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • doRamp

      public void doRamp()