Package org.onebusaway.realtime.api

Examples of org.onebusaway.realtime.api.EVehiclePhase.toLabel()


          - blockLocation.getDistanceAlongBlock());
    }

    EVehiclePhase phase = blockLocation.getPhase();
    if (phase != null)
      bean.setPhase(phase.toLabel());

    String status = blockLocation.getStatus();
    if (status != null)
      bean.setStatus(status);
View Full Code Here


    bean.setLastUpdateTime(record.getTimeOfRecord());
    bean.setLastLocationUpdateTime(record.getTimeOfLocationUpdate());

    EVehiclePhase phase = record.getPhase();
    if (phase != null)
      bean.setPhase(phase.toLabel());

    bean.setStatus(record.getStatus());

    if (record.isCurrentLocationSet())
      bean.setLocation(new CoordinatePoint(record.getCurrentLocationLat(),
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.