예제 #1
0
 public void newReading()
 {
     DataAccessLayer.DataHandler dh = new DataAccessLayer.DataHandler();
     dh.insertSensorReading(this);
 }
예제 #2
0
 public void addReading()
 {
     DataAccessLayer.DataHandler dh = DataAccessLayer.DataHandler.getInstance();
     dh.insertSensorReading(this);
 }