Package com.lbslocal.cc.core

Examples of com.lbslocal.cc.core.CommonRoute


      routeOptions.getVehicle().setAverageConsumption(ro.getVehicle().getAverageConsumption());
      routeOptions.getVehicle().setAverageSpeed(ro.getVehicle().getAverageSpeed());
      routeOptions.getVehicle().setFuelPrice(ro.getVehicle().getFuelPrice());
      routeOptions.getVehicle().setTankCapacity(ro.getVehicle().getTankCapacity());
      routeOptions.getVehicle().setTollFeeCat(ro.getVehicle().getTollFeeCat());
      CommonRoute r = new CommonRoute(_maquina, _server, _port, _output, _dns, _dataSource, _dataSourceMapa);
      rpi = r.getRoute(idLicenca, rs, routeOptions, CommonRoute._getRoute);
     
      ri.setMapInfo(new MapInfo());
      ri.getMapInfo().setExtent(new Extent());
      ri.getMapInfo().getExtent().setXMax(rpi.getMapInfo().getExtent().getXMax());
      ri.getMapInfo().getExtent().setXMin(rpi.getMapInfo().getExtent().getXMin());
View Full Code Here


    iniDate = System.currentTimeMillis();

    String ret;

    try {
      CommonRoute r = new CommonRoute(_maquina, _server, _port, _output, _dns, _dataSource, _dataSourceMapa);
      ret = r.getRouteCoords(routeID, (ext.getXMax() - ext.getXMin()) / ms.getWidth(), ext, idLicenca, dataSource);
    } catch (Exception e) {
      throw (new Exception(e.getMessage()));
    }

    return ret;
View Full Code Here

      routeOptions.getVehicle().setAverageSpeed(ro.getVehicle().getAverageSpeed());
      routeOptions.getVehicle().setFuelPrice(ro.getVehicle().getFuelPrice());
      routeOptions.getVehicle().setTankCapacity(ro.getVehicle().getTankCapacity());
      routeOptions.getVehicle().setTollFeeCat(ro.getVehicle().getTollFeeCat());

      CommonRoute r = new CommonRoute(_maquina, _server, _port, _output, _dns, _dataSource, _dataSourceMapa);
      routeSummary = r.getRouteSummary(idLicenca, rs, routeOptions, CommonRoute._getRouteSummary);

      Functions.gravarLogUnique(idLicenca, CommonRoute._getRouteSummary, rs.length, iniDate, 0);
    } catch (Exception e) {
      throw (new Exception(e.getMessage()));
    }
View Full Code Here

      routeOptions.getVehicle().setAverageSpeed(ro.getVehicle().getAverageSpeed());
      routeOptions.getVehicle().setFuelPrice(ro.getVehicle().getFuelPrice());
      routeOptions.getVehicle().setTankCapacity(ro.getVehicle().getTankCapacity());
      routeOptions.getVehicle().setTollFeeCat(ro.getVehicle().getTollFeeCat());

      CommonRoute r = new CommonRoute(_maquina, _server, _port, _output, _dns, _dataSource, _dataSourceMapa);
      segDescription = r.getRouteDescription(idLicenca, rs, routeOptions, CommonRoute._getRouteDescription);

      Functions.gravarLogUnique(idLicenca, CommonRoute._getRouteDescription, rs.length, iniDate, 0);
    } catch (Exception e) {
      throw (new Exception(e.getMessage()));
    }
View Full Code Here

      routeOptions.getVehicle().setAverageSpeed(ro.getVehicle().getAverageSpeed());
      routeOptions.getVehicle().setFuelPrice(ro.getVehicle().getFuelPrice());
      routeOptions.getVehicle().setTankCapacity(ro.getVehicle().getTankCapacity());
      routeOptions.getVehicle().setTollFeeCat(ro.getVehicle().getTollFeeCat());

      CommonRoute r = new CommonRoute(_maquina, _server, _port, _output, _dns, _dataSource, _dataSourceMapa);
      rt = r.getRouteTotals(idLicenca, rs, routeOptions, CommonRoute._getRouteTotals);

      Functions.gravarLogUnique(idLicenca, CommonRoute._getRouteTotals, rs.length, iniDate, 0);
    } catch (Exception e) {
      throw (new Exception(e.getMessage()));
    }
View Full Code Here

      routeOptions.getVehicle().setAverageSpeed(ro.getVehicle().getAverageSpeed());
      routeOptions.getVehicle().setFuelPrice(ro.getVehicle().getFuelPrice());
      routeOptions.getVehicle().setTankCapacity(ro.getVehicle().getTankCapacity());
      routeOptions.getVehicle().setTollFeeCat(ro.getVehicle().getTollFeeCat());

      CommonRoute r = new CommonRoute(_maquina, _server, _port, _output, _dns, _dataSource, _dataSourceMapa);
      rt = r.getRouteTotalsBatch(idLicenca, ra, routeOptions);

      Functions.gravarLogUnique(idLicenca, CommonRoute._getRouteTotals, ra.length, iniDate, 0);
    } catch (Exception e) {
      throw (new Exception(e.getMessage()));
    }
View Full Code Here

      routeOptions.getVehicle().setAverageSpeed(ro.getVehicle().getAverageSpeed());
      routeOptions.getVehicle().setFuelPrice(ro.getVehicle().getFuelPrice());
      routeOptions.getVehicle().setTankCapacity(ro.getVehicle().getTankCapacity());
      routeOptions.getVehicle().setTollFeeCat(ro.getVehicle().getTollFeeCat());

      CommonRoute r = new CommonRoute(_maquina, _server, _port, _output, _dns, _dataSource, _dataSourceMapa);
      rpi = r.getRouteWithMap(idLicenca, CommonRoute._getRouteWithMap, rs, routeOptions, mo);

      ri.setMapInfo(new MapInfo());
      ri.getMapInfo().setExtent(new Extent());
      ri.getMapInfo().getExtent().setXMax(rpi.getMapInfo().getExtent().getXMax());
      ri.getMapInfo().getExtent().setXMin(rpi.getMapInfo().getExtent().getXMin());
View Full Code Here

TOP

Related Classes of com.lbslocal.cc.core.CommonRoute

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.