Example #1
0
 @Override
 public String toString() {
   return "IpcVehicle ["
       + "vehicleId="
       + avl.getVehicleId()
       + ", blockId="
       + blockId
       + ", blockAssignmentMethod="
       + blockAssignmentMethod
       + ", routeId="
       + routeId
       + ", routeShortName="
       + routeShortName
       + ", tripId="
       + tripId
       + ", tripPatternId="
       + tripPatternId
       + ", directionId="
       + directionId
       + ", headsign="
       + headsign
       + ", predictable="
       + predictable
       + ", schedBasedPred="
       + schedBasedPred
       + ", realTimeSchedAdh="
       + realTimeSchedAdh
       + ", isDelayed="
       + isDelayed
       + ", isLayover="
       + isLayover
       + ", layoverDepartureTime="
       + Time.timeStrNoTimeZone(layoverDepartureTime)
       + ", nextStopId="
       + nextStopId
       + ", nextStopName="
       + nextStopName
       + ", avl="
       + avl
       + ", heading="
       + heading
       + ", vehicleType="
       + vehicleType
       + "]";
 }
Example #2
0
 /**
  * GPS epoch time in msec.
  *
  * @return
  */
 public long getGpsTime() {
   return avl.getTime();
 }
Example #3
0
 public String getLicensePlate() {
   return avl.getLicensePlate();
 }
Example #4
0
 public float getLongitude() {
   return avl.getLongitude();
 }
Example #5
0
 public float getLatitude() {
   return avl.getLatitude();
 }
Example #6
0
 /** @return Speed of vehicle, or null if speed not defined. */
 public float getSpeed() {
   return avl.getSpeed();
 }
Example #7
0
 public String getId() {
   return avl.getVehicleId();
 }