source: tmcsimulator/branches/ATMSDriver/src/atmsdriver/network/model/FEPLine.java @ 75

Revision 75, 1.2 KB checked in by jtorres, 9 years ago (diff)

Renamed fep_client_cpp to ATMSCommunicator, and upgraded it to cpp from straight c. Converted/Renamed? fep_client_java to ATMSDriver NetBeans? project, and checked in initial code for ATMSDriver. It contains the skeleton network model and a NetworkReader? which loads static network data from network lookup files.

Line 
1package atmsdriver.network.model;
2
3import 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 */ 
14public 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}
Note: See TracBrowser for help on using the repository browser.