diff --git a/java_console/ui/resources/com/rusefi/idle_valve.png b/java_console/ui/resources/com/rusefi/idle_valve.png new file mode 100644 index 0000000000..a28c0e52be Binary files /dev/null and b/java_console/ui/resources/com/rusefi/idle_valve.png differ diff --git a/java_console/ui/src/com/rusefi/BenchTestPane.java b/java_console/ui/src/com/rusefi/BenchTestPane.java index aca426c665..2a2322cf54 100644 --- a/java_console/ui/src/com/rusefi/BenchTestPane.java +++ b/java_console/ui/src/com/rusefi/BenchTestPane.java @@ -11,7 +11,7 @@ import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class BenchTestPane { - private final JPanel content = new JPanel(new GridLayout(2, 3)); + private final JPanel content = new JPanel(new GridLayout(2, 4)); public BenchTestPane() { content.setBorder(BorderFactory.createEmptyBorder(20, 20, 20, 20)); @@ -21,6 +21,7 @@ public class BenchTestPane { content.add(createSparkTest()); content.add(createInjectorTest()); content.add(createMILTest()); + content.add(createIdleTest()); content.add(new MessagesView().messagesScroll); } @@ -34,6 +35,16 @@ public class BenchTestPane { return panel.getContent(); } + private Component createIdleTest() { + BenchTestPanel panel = new BenchTestPanel("idle_valve.png", "Idle Valve") { + @NotNull + protected String getCommand() { + return "idlebench"; + } + }; + return panel.getContent(); + } + private Component createFanTest() { BenchTestPanel panel = new BenchTestPanel("radiator_fan.jpg", "Radiator Fan") { @NotNull diff --git a/java_console/ui/src/com/rusefi/Launcher.java b/java_console/ui/src/com/rusefi/Launcher.java index acec2625b0..e8e9a758f7 100644 --- a/java_console/ui/src/com/rusefi/Launcher.java +++ b/java_console/ui/src/com/rusefi/Launcher.java @@ -32,7 +32,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig; * @see EngineSnifferPanel */ public class Launcher { - public static final int CONSOLE_VERSION = 20151214; + public static final int CONSOLE_VERSION = 20151224; public static final boolean SHOW_STIMULATOR = false; private static final String TAB_INDEX = "main_tab"; protected static final String PORT_KEY = "port";