From aa166d986ca140a1d9ddb9640aa34a0a719a23ea Mon Sep 17 00:00:00 2001 From: kascade Date: Sun, 24 Jun 2007 13:07:35 +0000 Subject: [PATCH] removed test plugin git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@708 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d --- plugins/test.plugin | 1 - .../ecu/external/TestExternalDataSource.java | 75 ------------------- 2 files changed, 76 deletions(-) delete mode 100644 plugins/test.plugin delete mode 100644 src/enginuity/logger/ecu/external/TestExternalDataSource.java diff --git a/plugins/test.plugin b/plugins/test.plugin deleted file mode 100644 index cdcfcb61..00000000 --- a/plugins/test.plugin +++ /dev/null @@ -1 +0,0 @@ -datasource.class=enginuity.logger.ecu.external.TestExternalDataSource \ No newline at end of file diff --git a/src/enginuity/logger/ecu/external/TestExternalDataSource.java b/src/enginuity/logger/ecu/external/TestExternalDataSource.java deleted file mode 100644 index 56c898f5..00000000 --- a/src/enginuity/logger/ecu/external/TestExternalDataSource.java +++ /dev/null @@ -1,75 +0,0 @@ -package enginuity.logger.ecu.external; - -import enginuity.logger.ecu.EcuLogger; - -import javax.swing.Action; -import java.util.ArrayList; -import java.util.List; -import java.util.Random; - -public final class TestExternalDataSource implements ExternalDataSource { - - public String getName() { - return "Test Sensor"; - } - - public String getVersion() { - return "0.0001"; - } - - public List getDataItems() { - ExternalDataItem dataItem = new ExternalDataItem() { - private Random random = new Random(System.currentTimeMillis()); - - public String getName() { - return "Test Data"; - } - - public String getDescription() { - return "Test External Data Item"; - } - - public String getUnits() { - return "?"; - } - - public double getData() { - return random.nextDouble(); - } - }; - List dataItems = new ArrayList(); - dataItems.add(dataItem); - return dataItems; - } - - public Action getMenuAction(EcuLogger logger) { - return null; - } - - public void setPort(String port) { - } - - public String getPort() { - return null; - } - - // ***************************** - // Suggested Methods of interest - // ***************************** - - public void connect(){ - - } - - public void disconnect(){ - - } - - public void startLogging(){ - - } - - public void stopLogging(){ - - } -}