Ejemplo n.º 1
0
 public Object getValue() {
   try {
     Set<MeasurementData> d =
         remoteClient
             .getMeasurementDataManager()
             .findLiveData(
                 remoteClient.getSubject(), resourceId, new int[] {definition.getId()});
     MeasurementData data = d.iterator().next();
     return data.getValue();
   } catch (Exception e) {
     return "?";
   }
 }