/** @param lastAvlReport */ public IpcAvl(AvlReport a) { this.vehicleId = a.getVehicleId(); this.time = a.getTime(); this.latitude = (float) a.getLat(); this.longitude = (float) a.getLon(); this.speed = a.getSpeed(); this.heading = a.getHeading(); this.source = a.getSource(); this.assignmentId = a.getAssignmentId(); this.assignmentType = a.getAssignmentType(); this.driverId = a.getDriverId(); this.licensePlate = a.getLicensePlate(); this.passengerCount = a.getPassengerCount(); }