public void newReading() { DataAccessLayer.DataHandler dh = new DataAccessLayer.DataHandler(); dh.insertSensorReading(this); }
public void addReading() { DataAccessLayer.DataHandler dh = DataAccessLayer.DataHandler.getInstance(); dh.insertSensorReading(this); }