package com.conveyal.taui.models;

import java.util.List;

/**
 * Created by matthewc on 3/28/16.
 */
public class Reroute extends Modification {
    public String name;

    public String feed;
    public String[] routes;
    public String[] trips;

    public String fromStop;
    public String toStop;

    public List<AddTripPattern.Segment> segments;

    /** speed of the adjusted segment, km/h, per segment */
    public int[] segmentSpeeds;

    /** dwell time at adjusted stops, seconds */
    public int dwellTime;

    @Override
    public String getType() {
        return "reroute";
    }
}

@@ -517,16 +517,45 @@
 ellTime;
+%0A    public int%5B%5D dwellTimes;
 %0A%0A    @O

Add dwell times array to reroute modifications