1
0

fix dataPointMap

This commit is contained in:
Rémi Heredero 2023-05-05 16:25:15 +02:00
parent fe52981ba6
commit 3b1d829bbf

View File

@ -4,16 +4,14 @@ import ch.hevs.isi.db.DatabaseConnector;
import ch.hevs.isi.field.FieldConnector;
import ch.hevs.isi.web.WebConnector;
import java.util.HashMap;
import java.util.Map;
public abstract class DataPoint{
private static Map<String, DataPoint> dataPointMap;
private static Map<String, DataPoint> dataPointMap = new HashMap<>();
private String label;
private boolean isOutput;
protected DataPoint(String label, boolean isOutput){
if(dataPointMap.containsKey(label)){
}
this.label = label;
this.isOutput = isOutput;
}