示例#1
0
 public List<Sensor> findRemovedSensors() {
   return sensorEJB.findRemovedSensors();
 }
示例#2
0
 public List<Sensor> getSensors() {
   return sensorEJB.findSensors();
 }
示例#3
0
  public void reaffectSensorToDrone(Drone drone, Long sensorId) throws ParseException {

    sensorEJB.reaffectSensor(drone, sensorId);
  }
示例#4
0
 public List<Sensor> getSensorsById(Long id) {
   return sensorEJB.findSensorsById(id);
 }
示例#5
0
  public void addSensorToDrone(Drone drone) throws ParseException {

    sensorEJB.createSensor(
        Integer.parseInt(typeSensor), name, model, inServiceDate, Float.parseFloat(price), drone);
  }