Esempio n. 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
       + "]";
 }
Esempio n. 2
0
 /**
  * GPS epoch time in msec.
  *
  * @return
  */
 public long getGpsTime() {
   return avl.getTime();
 }
Esempio n. 3
0
 public String getLicensePlate() {
   return avl.getLicensePlate();
 }
Esempio n. 4
0
 public float getLongitude() {
   return avl.getLongitude();
 }
Esempio n. 5
0
 public float getLatitude() {
   return avl.getLatitude();
 }
Esempio n. 6
0
 /** @return Speed of vehicle, or null if speed not defined. */
 public float getSpeed() {
   return avl.getSpeed();
 }
Esempio n. 7
0
 public String getId() {
   return avl.getVehicleId();
 }