Package auxiliar

Examples of auxiliar.MetodaSedimentarii


    @DefaultHandler
    public Resolution view() {
      
        //daca s-a mai facut metoda cernerii pt proba curenta,atunci se afiseaza valorile din BD
        medSedimentarii = new MetodaSedimentarii();
        ICitiriAreometruDao citiriAreometruDao = new CitiriAreometruDao();
        ITempCititaDao tempCititaDao = new TempCititaDao();
        CitiriAreometru citiriAreometruAuxiliar = citiriAreometruDao.getCitiriAreometruByIDProba(Integer.parseInt(getContext().getRequest().getSession().getAttribute("idProba").toString()));
        TempCitita tempCititaAuxiliar = tempCititaDao.getTempCititaByIDProba(Integer.parseInt(getContext().getRequest().getSession().getAttribute("idProba").toString()));
        if ((citiriAreometruAuxiliar != null) && (tempCititaAuxiliar != null)) {
View Full Code Here


        proba.setA(Float.parseFloat(getaInput()));
        proba.setB(Float.parseFloat(getbInput()));
        probaDao.saveOrUpdate(proba);


        medSedimentarii = new MetodaSedimentarii();
        //se modifica pt a afisa in pagina, noile valori introduse
        CitiriAreometru citiriAreometruDinBD = citiriAreometruDao.getCitiriAreometruByIDProba(proba.getIdProba());
        List<Float> citiriAreometruDinBDList = Arrays.asList(citiriAreometruDinBD.getVal05(), citiriAreometruDinBD.getVal1(), citiriAreometruDinBD.getVal2(), citiriAreometruDinBD.getVal4(), citiriAreometruDinBD.getVal8(), citiriAreometruDinBD.getVal15(), citiriAreometruDinBD.getVal30(), citiriAreometruDinBD.getVal60(), citiriAreometruDinBD.getVal120(), citiriAreometruDinBD.getVal240(), citiriAreometruDinBD.getVal720(), citiriAreometruDinBD.getVal960());
        medSedimentarii.setCitiriAreometru(citiriAreometruDinBDList);
View Full Code Here

    @DefaultHandler
    public Resolution view() {
        rezultate = new Rezultate();
        MetodaCernerii metCernerii = (MetodaCernerii) (getContext().getRequest().getSession().getAttribute("metC"));
        MetodaSedimentarii metSedimentarii = (MetodaSedimentarii) (getContext().getRequest().getSession().getAttribute("metS"));
        List<Float> col8TabelMetSedimentarii = metSedimentarii.getMp();
        List<Float> col4TabelMetCernerii = metCernerii.getFractiuni();
        rezultate.setProcente(formulaRezultateCol2(col8TabelMetSedimentarii, col4TabelMetCernerii));
        Float argila = (Float) zecimale(rezultate.getProcente().get(0) + rezultate.getProcente().get(1), 2);
        Float praf = (Float) zecimale(rezultate.getProcente().get(2), 2);
        Float nisip = (Float) zecimale(rezultate.getProcente().get(3) + rezultate.getProcente().get(4) + rezultate.getProcente().get(5), 2);
View Full Code Here

TOP

Related Classes of auxiliar.MetodaSedimentarii

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.