package com.kpl.CourierMgmt.CourierManager;

import java.time.Duration;

import com.kpl.CourierMgmt.GoogleMapClient.IGoogleRoute;

public class FakeGoogleRoute implements IGoogleRoute {

	public String Status;
	
	@Override
	public String GetStatus() {
		// TODO Auto-generated method stub
		return Status;
	}

	public String Origin;
	
	@Override
	public String GetOrigin() {
		// TODO Auto-generated method stub
		return Origin;
	}

	public String Destination;
	
	@Override
	public String GetDestination() {
		// TODO Auto-generated method stub
		return Destination;
	}

	public double Distance;
	
	@Override
	public double GetDistance() {
		// TODO Auto-generated method stub
		return Distance;
	}

	public Duration Duration;
	
	@Override
	public Duration GetDuration() {
		// TODO Auto-generated method stub
		return Duration;
	}

	public FakeGoogleRoute(String dest, String org, double dist, int mins) {
		Destination = dest;
		Origin = org;
		Distance = dist;
		Duration = java.time.Duration.ofMinutes(mins);
	}
	
    public static FakeGoogleRoute[] Routes = new FakeGoogleRoute[]
    {
        new FakeGoogleRoute("Rialto Bridge", "Bridge of Sighs", 0.65, 8),
        new FakeGoogleRoute("Gallerie del'Accademia", "Bridge of Sighs", 1.1, 15),
        new FakeGoogleRoute("Venice Station", "Bridge of Sighs", 2.4, 30),
        new FakeGoogleRoute("Bridge of Sighs", "Rialto Bridge", 0.65, 8),
        new FakeGoogleRoute("Gallerie del'Accademia", "Rialto Bridge", 1.2, 16),
        new FakeGoogleRoute("Venice Station", "Rialto Bridge", 1.6, 20),
        new FakeGoogleRoute("Bridge of Sighs", "Gallerie del'Accademia", 1.1, 15),
        new FakeGoogleRoute("Rialto Bridge", "Gallerie del'Accademia", 1.2, 16),
        new FakeGoogleRoute("Venice Station", "Gallerie del'Accademia", 1.8, 22),
        new FakeGoogleRoute("Bridge of Sighs", "Venice Station", 2.4, 30),
        new FakeGoogleRoute("Rialto Bridge", "Venice Station", 1.6, 20),
        new FakeGoogleRoute("Gallerie del'Accademia", "Venice Station", 1.8, 22)
    };
}
