mirror of https://github.com/rusefi/rusefi-1.git
auto-sync
This commit is contained in:
parent
31c5a301a6
commit
efec553f36
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
|
@ -11,7 +11,7 @@ import java.awt.event.ActionEvent;
|
||||||
import java.awt.event.ActionListener;
|
import java.awt.event.ActionListener;
|
||||||
|
|
||||||
public class BenchTestPane {
|
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() {
|
public BenchTestPane() {
|
||||||
content.setBorder(BorderFactory.createEmptyBorder(20, 20, 20, 20));
|
content.setBorder(BorderFactory.createEmptyBorder(20, 20, 20, 20));
|
||||||
|
@ -21,6 +21,7 @@ public class BenchTestPane {
|
||||||
content.add(createSparkTest());
|
content.add(createSparkTest());
|
||||||
content.add(createInjectorTest());
|
content.add(createInjectorTest());
|
||||||
content.add(createMILTest());
|
content.add(createMILTest());
|
||||||
|
content.add(createIdleTest());
|
||||||
content.add(new MessagesView().messagesScroll);
|
content.add(new MessagesView().messagesScroll);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,6 +35,16 @@ public class BenchTestPane {
|
||||||
return panel.getContent();
|
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() {
|
private Component createFanTest() {
|
||||||
BenchTestPanel panel = new BenchTestPanel("radiator_fan.jpg", "Radiator Fan") {
|
BenchTestPanel panel = new BenchTestPanel("radiator_fan.jpg", "Radiator Fan") {
|
||||||
@NotNull
|
@NotNull
|
||||||
|
|
|
@ -32,7 +32,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 = 20151214;
|
public static final int CONSOLE_VERSION = 20151224;
|
||||||
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";
|
||||||
|
|
Loading…
Reference in New Issue