Package ch.bfh.egov.internetapps.tos

Examples of ch.bfh.egov.internetapps.tos.Resultat


      return;
    }

    for(int i=0; i<results.size(); i++) {
      logger.debug("Zeichne Resultat "+i+" f�r Branchensicht ein");
      Resultat resultat = results.get(i);
      boolean hasOpNu = resultat.getOpNuResultat() != null;

      Double bsDouble = RESULT_FAKTOR_BS * resultat.getBsResultat();
      logger.debug("Resultat Branchensicht: " + bsDouble);
      Double naDouble = RESULT_FAKTOR * resultat.getNaResultat();
      logger.debug("Resultat Nutzenattraktivitaet: " + naDouble);
      Double opNuDouble = null;
      if(hasOpNu) {
        opNuDouble = RESULT_FAKTOR * resultat.getOpNuResultat();
        logger.debug("Resultat Operativer Nutzen: " + opNuDouble);
      }

      Integer bs = bsDouble.intValue();
      logger.debug("Resultat Branchensicht gerundet: " + bs);
View Full Code Here


      return;
    }

    for(int i=0; i<results.size(); i++) {
      logger.debug("Zeichne Resultat "+i+" f�r Branchensicht ein");
      Resultat resultat = results.get(i);


      Double bsDouble = RESULT_FAKTOR_BS * resultat.getBsResultat();
      logger.debug("Resultat Branchensicht: " + bsDouble);

      Integer bs = bsDouble.intValue();
      logger.debug("Resultat Branchensicht gerundet: " + bs);

View Full Code Here

      Double bsResultat = (p != null) ? (p.doubleValue() / Constants.NORMIERUNGSFAKTOR) : 0.0;
      logger.debug("bsResultat "+i+" vor Runden: " + bsResultat);
      bsResultat = Math.rint(bsResultat * 1000) / 1000;
      logger.debug("bsResultat "+i+" nach Runden: " + bsResultat);

      Resultat r = new Resultat();   
      r.setBsResultat(bsResultat);
      r.setNaResultat(naResultat);
      r.setOpNuResultat(opNuResultat);
      r.setName((i > 0) ? "Geplanter Stand "+i : "Aktueller Stand");

      // Textlabel anhand der Resultate setzen
      r = setAuswertungLabels(r);

      results.add(r);
View Full Code Here

TOP

Related Classes of ch.bfh.egov.internetapps.tos.Resultat

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.