Class SpeedMatcherConfig

    • Constructor Detail

      • SpeedMatcherConfig

        public SpeedMatcherConfig​(DccLocoAddress address,
                                  Speed.Unit speedUnit,
                                  boolean trimReverseSpeed,
                                  int warmUpForwardSeconds,
                                  int warmUpReverseSeconds,
                                  PowerManager powerManager,
                                  javax.swing.JLabel statusLabel,
                                  javax.swing.JButton startStopButton)
        Constructor for the abstract SpeedMatcherConfig at the core of any Speed Matcher Config
        Parameters:
        address - Address of locomotive to speed match
        speedUnit - Speed.Unit to speed match the locomotive in
        trimReverseSpeed - Set to true to trim the locomotive's reverse speed, false otherwise
        warmUpForwardSeconds - Number of seconds to warm up the locomotive before forward speed matching; set to 0 to skip the forward warm up
        warmUpReverseSeconds - Number of seconds to warm up the locomotive before trimming revers speed; set to 0 to skip the reverse warm up
        powerManager - PowerManager for turning on the DCC system power
        statusLabel - JLabel status label in the SpeedoConsoleFrame
        startStopButton - JButton for starting and stopping speed matching