Package com.ordobill.webapp.beans

Examples of com.ordobill.webapp.beans.FigInform


   
    //=======================Util for Simulation Start======================//
    public void returnHazardRandom(String[] equipInform){
        for(String eqInfo : equipInform){
            String[] info = eqInfo.split(",");
            FigInform figInform = new FigInform();

            figInform.setFigUid(Integer.parseInt(info[0]));
            figInform.setHazardRate(Float.parseFloat(info[1]));
            figInform.setRandomNum(Float.parseFloat(info[2]));
           
            figInformList.add(figInform);
            figInform = null;
        }
       
View Full Code Here


        int reportUid = (Integer) sqlMap.insert("Report.Insert", _Report);
        ArrayList<FigInform> figInformList;
        for (int i=0;i<figList.size();i++) {
            figInformList = new ArrayList<FigInform>();
            for (int s=0;s<sampleform.getIteration();s++) {
              FigInform inFig = new FigInform();
              inFig.setFigUid(figList.get(i).getFigUid());
              inFig.setHazardRate(0.1f);
              inFig.setRandomNum(0.01f);
              figInformList.add(inFig);
            }
            figList.get(i).setFigInform(figInformList);
        }
       
View Full Code Here

TOP

Related Classes of com.ordobill.webapp.beans.FigInform

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.