package atmsdriver.network.model;

import java.util.List;

/** An FEPLine is a simulated line of communication from the FEP to 
 *  LoopDetectorStations in the traffic network.
 * 
 *  An FEPLine contains static meta data and a list of LoopDetectorStations.
 *  A single FEPLine contains multiple LoopDetectorStations.
 *
 * @author John A. Torres
 * @version 09/10/2017
 */ 
public class FEPLine {
    /* Static FEPLine meta data */
    final private int lineNum;
    final private List<LoopDetectorStation> stations;
    final private int count;
    // NOT SURE IF NEXT IS FINAL
    final private int schedule;
    final private int lineInfo;
    final private long systemKey;
    final private long globalSeq;
    final private long scheduleSeq;
    
    public FEPLine(int lineNum, List<LoopDetectorStation> stations, int count,
            int schedule, int lineInfo, long systemKey, long globalSeq,
            long scheduleSeq)
    {
        this.lineNum = lineNum;
        this.stations = stations;
        this.count = count;
        this.schedule = schedule;
        this.lineInfo = lineInfo;
        this.systemKey = systemKey;
        this.globalSeq = globalSeq;
        this.scheduleSeq = scheduleSeq;
    }
}
