| 1 | package atmsdriver.network.model; |
|---|
| 2 | |
|---|
| 3 | import java.util.List; |
|---|
| 4 | |
|---|
| 5 | /** An FEPLine is a simulated line of communication from the FEP to |
|---|
| 6 | * LoopDetectorStations in the traffic network. |
|---|
| 7 | * |
|---|
| 8 | * An FEPLine contains static meta data and a list of LoopDetectorStations. |
|---|
| 9 | * A single FEPLine contains multiple LoopDetectorStations. |
|---|
| 10 | * |
|---|
| 11 | * @author John A. Torres |
|---|
| 12 | * @version 09/10/2017 |
|---|
| 13 | */ |
|---|
| 14 | public class FEPLine { |
|---|
| 15 | /* Static FEPLine meta data */ |
|---|
| 16 | final private int lineNum; |
|---|
| 17 | final private List<LoopDetectorStation> stations; |
|---|
| 18 | final private int count; |
|---|
| 19 | // NOT SURE IF NEXT IS FINAL |
|---|
| 20 | final private int schedule; |
|---|
| 21 | final private int lineInfo; |
|---|
| 22 | final private long systemKey; |
|---|
| 23 | final private long globalSeq; |
|---|
| 24 | final private long scheduleSeq; |
|---|
| 25 | |
|---|
| 26 | public FEPLine(int lineNum, List<LoopDetectorStation> stations, int count, |
|---|
| 27 | int schedule, int lineInfo, long systemKey, long globalSeq, |
|---|
| 28 | long scheduleSeq) |
|---|
| 29 | { |
|---|
| 30 | this.lineNum = lineNum; |
|---|
| 31 | this.stations = stations; |
|---|
| 32 | this.count = count; |
|---|
| 33 | this.schedule = schedule; |
|---|
| 34 | this.lineInfo = lineInfo; |
|---|
| 35 | this.systemKey = systemKey; |
|---|
| 36 | this.globalSeq = globalSeq; |
|---|
| 37 | this.scheduleSeq = scheduleSeq; |
|---|
| 38 | } |
|---|
| 39 | } |
|---|