removed test plugin

git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@708 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
kascade 2007-06-24 13:07:35 +00:00
parent 1e8cebfed6
commit aa166d986c
2 changed files with 0 additions and 76 deletions

View File

@ -1 +0,0 @@
datasource.class=enginuity.logger.ecu.external.TestExternalDataSource

View File

@ -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<? extends ExternalDataItem> 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<ExternalDataItem> dataItems = new ArrayList<ExternalDataItem>();
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(){
}
}