Beispiel #1
0
 /**
  * Liste des teneurs de la mesure ISL.
  *
  * @author BL 2009 08
  */
 public List<ComboItem> getGrades() {
   try {
     return isl_labo.getGrades(LoginRO.getLang_id());
   } catch (Exception e) {
     return null;
   }
 }
Beispiel #2
0
  /** Analyse d'une teneur des puits et lignes d'un bloc. */
  public List<?> getBlockAnalysis(Date time, Integer block, Integer grade, Integer otherMenuItem) {

    try {
      List<?> ret =
          isl_labo.getBlockAnalysis(LoginRO.getSession_(), time, block, grade, otherMenuItem);
      // System.out.println("ISL_LaboRO.getBLockAnalysis(),"+ret.size());
      return ret;
    } catch (Exception e) {
      e.printStackTrace();
      return null;
    }
  }
Beispiel #3
0
 /** Suppression d'une analyse. */
 public void deleteRecord(Map<?, ?> record) {
   // System.out.println("del2 "+record.get("record_pk"));
   // Apparemment, la conversion (String) echoue
   isl_labo.deleteRecord(record.get("record_pk").toString());
 }
Beispiel #4
0
  /** Saisie d'une analyse. */
  public void setTuzAnalysis(
      Integer equipment_id, Date day, int measure_pk, int tecdata_pk, Object newVal) {

    isl_labo.setAnalysis(day, equipment_id, measure_pk, tecdata_pk, newVal, LoginRO.getSession_());
  }
Beispiel #5
0
  public void setInjPipes(
      Date day, Integer field_id, int measure_pk, int tecdata_pk, Object newVal) {

    isl_labo.setInjPipes(LoginRO.getSession_(), day, field_id, measure_pk, tecdata_pk, newVal);
  }
Beispiel #6
0
  /**
   * Noms des teneurs de l'analyse d'un équipement ISL.
   *
   * @return {label, tecdata_pk}
   */
  public List<?> getGradeLabels(Integer equipment_id) {

    List<?> ret = isl_labo.getGradeLabels(LoginRO.getSession_(), equipment_id);
    // System.out.println("isl_labo_ro "+ret);
    return ret;
  }
Beispiel #7
0
  /**
   * Menu du module.
   *
   * @return contenu XML.
   */
  public String getMenuXML() {

    return isl_labo.getMenuXML(LoginRO.getSession_());
  }
Beispiel #8
0
 public List<?> getBlockGrade(Date start, Date end) {
   return isl_labo.getBlockGrade(LoginRO.getSession_(), start, end);
 }
Beispiel #9
0
 public List<?> getAnalyseCount(Date start, Date end) {
   return isl_labo.getAnalyseCount(LoginRO.getSession_(), start, end);
 }
Beispiel #10
0
 /** Historiques des analyses chimiques d'un équipement. */
 public List<?> getPastAnalysis(Integer equipment_pk) {
   return isl_labo.getPastAnalysis(LoginRO.getSession_(), equipment_pk);
 }