Esempio n. 1
0
  @Override
  public void addValue(String inVal) {
    System.out.println("Selected: " + cb.getSelectedIndex());

    switch (cb.getSelectedIndex()) {
      case 1:
        cardPH.setValue(inVal);
        break;
      case 2:
        cardCO2.setValue(inVal);
        break;
      case 3:
        cardSOIL.setValue(inVal);
        break;
    }
  }
Esempio n. 2
0
 @Override
 public void reconst() {
   cardPH.setCalibrationConstants();
 }