Example #1
0
 com.relteq.sirius.jaxb.FundamentalDiagram restoreFundamentalDiagram(FundamentalDiagrams db_fd) {
   com.relteq.sirius.jaxb.FundamentalDiagram fd = factory.createFundamentalDiagram();
   fd.setFreeFlowSpeed(db_fd.getFreeFlowSpeed());
   fd.setCriticalSpeed(db_fd.getCriticalSpeed());
   fd.setCongestionSpeed(db_fd.getCongestionWaveSpeed());
   fd.setCapacity(db_fd.getCapacity());
   fd.setJamDensity(db_fd.getJamDensity());
   fd.setCapacityDrop(db_fd.getCapacityDrop());
   fd.setStdDevCapacity(db_fd.getCapacityStd());
   fd.setStdDevFreeFlowSpeed(db_fd.getFreeFlowSpeedStd());
   fd.setStdDevCongestionSpeed(db_fd.getCongestionWaveSpeedStd());
   return fd;
 }