dizzybench

This commit is contained in:
rusEfi 2017-04-24 22:43:29 -04:00
parent e1af4e6ec6
commit 850c98acaa
3 changed files with 14 additions and 3 deletions

View File

@ -316,7 +316,7 @@ void initInjectorCentral(Logging *sharedLogger) {
addConsoleAction("fuelpumpbench", fuelPumpBench); addConsoleAction("fuelpumpbench", fuelPumpBench);
addConsoleActionS("fuelpumpbench2", fuelPumpBenchExt); addConsoleActionS("fuelpumpbench2", fuelPumpBenchExt);
addConsoleAction("fanbench", fanBench); addConsoleAction("fanbench", fanBench);
addConsoleAction("dizzybench", dizzyBench); addConsoleAction("dizzybench", dizzyBench); // this is useful for tach output testing
addConsoleAction("milbench", milBench); addConsoleAction("milbench", milBench);
addConsoleActionSSS("fuelbench", fuelbench); addConsoleActionSSS("fuelbench", fuelbench);

View File

@ -23,6 +23,7 @@ public class BenchTestPane {
content.add(createInjectorTest()); content.add(createInjectorTest());
content.add(createMILTest()); content.add(createMILTest());
content.add(createIdleTest()); content.add(createIdleTest());
content.add(createDizzyTest());
content.add(new MessagesView().messagesScroll); content.add(new MessagesView().messagesScroll);
} }
@ -37,7 +38,7 @@ public class BenchTestPane {
} }
private Component createIdleTest() { private Component createIdleTest() {
BenchTestPanel panel = new BenchTestPanel("Idle Valve", ("idle_valve.png")) { BenchTestPanel panel = new BenchTestPanel("Idle Valve", "idle_valve.png") {
@NotNull @NotNull
protected String getCommand() { protected String getCommand() {
return "idlebench"; return "idlebench";
@ -46,6 +47,16 @@ public class BenchTestPane {
return panel.getContent(); return panel.getContent();
} }
private Component createDizzyTest() {
BenchTestPanel panel = new BenchTestPanel("Dizzy", "todo_image.png") {
@NotNull
protected String getCommand() {
return "dizzybench";
}
};
return panel.getContent();
}
private Component createFanTest() { private Component createFanTest() {
BenchTestPanel panel = new BenchTestPanel("Radiator Fan", "radiator_fan.jpg") { BenchTestPanel panel = new BenchTestPanel("Radiator Fan", "radiator_fan.jpg") {
@NotNull @NotNull

View File

@ -44,7 +44,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
* @see EngineSnifferPanel * @see EngineSnifferPanel
*/ */
public class Launcher { public class Launcher {
public static final int CONSOLE_VERSION = 20170324; public static final int CONSOLE_VERSION = 20170424;
public static final boolean SHOW_STIMULATOR = false; public static final boolean SHOW_STIMULATOR = false;
private static final String TAB_INDEX = "main_tab"; private static final String TAB_INDEX = "main_tab";
protected static final String PORT_KEY = "port"; protected static final String PORT_KEY = "port";