some tests
This commit is contained in:
@ -22,7 +22,7 @@ public class DatabaseConnector implements DataPointListener {
|
||||
}
|
||||
|
||||
private void pushToDatabase(DataPoint dp){
|
||||
System.out.println("To Database: " + dp.toString());
|
||||
System.out.println(dp.toString() + " -> Database");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -23,13 +23,8 @@ public class FieldConnector implements DataPointListener {
|
||||
|
||||
}
|
||||
|
||||
public void uselessTest(){
|
||||
FloatDataPoint dp = new FloatDataPoint("Voltage", false);
|
||||
dp.setValue(5);
|
||||
}
|
||||
|
||||
private void pushToField(DataPoint dp){
|
||||
System.out.println("To Field: " + dp.toString());
|
||||
System.out.println(dp.toString() + " -> Field");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -21,7 +21,7 @@ public class WebConnector implements DataPointListener {
|
||||
}
|
||||
|
||||
private void pushToWeb(DataPoint dp){
|
||||
System.out.println("To Web: " + dp.toString());
|
||||
System.out.println(dp.toString() + " -> Web");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user