Class SpeedStepScaleSpeedMatcherConfig
- java.lang.Object
-
- jmri.jmrix.bachrus.speedmatcher.SpeedMatcherConfig
-
- jmri.jmrix.bachrus.speedmatcher.speedStepScale.SpeedStepScaleSpeedMatcherConfig
-
public class SpeedStepScaleSpeedMatcherConfig extends SpeedMatcherConfig
Configuration data for a speed step scale speed matcher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpeedStepScaleSpeedMatcherConfig.SpeedTable
-
Field Summary
Fields Modifier and Type Field Description javax.swing.JLabel
actualMaxSpeedField
SpeedTableStepSpeed
targetMaxSpeedStep
-
Fields inherited from class jmri.jmrix.bachrus.speedmatcher.SpeedMatcherConfig
dccLocoAddress, powerManager, speedUnit, startStopButton, statusLabel, trimReverseSpeed, warmUpForwardSeconds, warmUpReverseSeconds
-
-
Constructor Summary
Constructors Constructor Description SpeedStepScaleSpeedMatcherConfig(DccLocoAddress address, SpeedTableStepSpeed targetMaxSpeedStep, Speed.Unit speedUnit, boolean trimReverseSpeed, int warmUpForwardSeconds, int warmUpReverseSeconds, PowerManager powerManager, javax.swing.JLabel statusLabel, javax.swing.JLabel actualMaxSpeedField, javax.swing.JButton startStopButton)
Create a config object for a Speed Step Scale Speed Matcher
-
-
-
Field Detail
-
targetMaxSpeedStep
public SpeedTableStepSpeed targetMaxSpeedStep
-
actualMaxSpeedField
public javax.swing.JLabel actualMaxSpeedField
-
-
Constructor Detail
-
SpeedStepScaleSpeedMatcherConfig
public SpeedStepScaleSpeedMatcherConfig(DccLocoAddress address, SpeedTableStepSpeed targetMaxSpeedStep, Speed.Unit speedUnit, boolean trimReverseSpeed, int warmUpForwardSeconds, int warmUpReverseSeconds, PowerManager powerManager, javax.swing.JLabel statusLabel, javax.swing.JLabel actualMaxSpeedField, javax.swing.JButton startStopButton)
Create a config object for a Speed Step Scale Speed Matcher- Parameters:
address
- Address of locomotive to speed matchtargetMaxSpeedStep
- Target maximum speed step (corresponds to maximum speed)speedUnit
- Speed.Unit to speed match the locomotive intrimReverseSpeed
- Set to true to trim the locomotive's reverse speed, false otherwisewarmUpForwardSeconds
- Number of seconds to warm up the locomotive before forward speed matching; set to 0 to skip the forward warm upwarmUpReverseSeconds
- Number of seconds to warm up the locomotive before trimming revers speed; set to 0 to skip the reverse warm uppowerManager
- PowerManager for turning on the DCC system powerstatusLabel
- JLabel status label in the SpeedoConsoleFrameactualMaxSpeedField
- JLabel for indicating the locomotive's actual max speedstartStopButton
- JButton for starting and stopping speed matching
-
-