Package it.polito.temp

Examples of it.polito.temp.StatisticType


      TempType root=tmpRootJAXB.getValue();
     
      for(SendIntervalType elem: root.getSendInterval()){
        this.getSendInterval().put(elem.getVehicleId(), elem.getInterval());
      }
      StatisticType stat=root.getStatistic();
      Integer[] statResult = this.getTempStat();
      statResult[0]=stat.getNumberOfVehicle();
      statResult[1]=stat.getNumberOfTime();
      statResult[2]=stat.getNumberReceivedPackets();
      statResult[3]=stat.getNumberLoggedPackets();
      statResult[4]=stat.getNumberDiscardedPackets();
      statResult[5]=stat.getNumberConsecutiveDiscarded();
      statResult[6]=stat.getNumberVehicleThatReceive();
     
      // c'� da "parsare la mappa per ultimo tempo x vedere i consecutivi
      Object lastTime=new Object();
     
     
View Full Code Here


      }
     
    }
   
    // riempio totali statistiche
    StatisticType stattemp = this.getOf().createStatisticType();
    stattemp.setNumberOfVehicle(statTemp[0]);
    stattemp.setNumberOfTime(statTemp[1]);
    stattemp.setNumberReceivedPackets(statTemp[2]);
    stattemp.setNumberLoggedPackets(statTemp[3]);
    stattemp.setNumberDiscardedPackets(statTemp[4]);
    stattemp.setNumberConsecutiveDiscarded(statTemp[5]);
    stattemp.setNumberVehicleThatReceive(statTemp[6]);
   
   
    temp.setStatistic(stattemp);
 
    // manca ultima parte per concecutivo
View Full Code Here

TOP

Related Classes of it.polito.temp.StatisticType

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.