| Revision 75,
387 bytes
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 | |
|---|
| 1 | package atmsdriver.network.model; |
|---|
| 2 | |
|---|
| 3 | import atmsdriver.NetworkReader; |
|---|
| 4 | import java.io.File; |
|---|
| 5 | import java.util.ArrayList; |
|---|
| 6 | |
|---|
| 7 | /** |
|---|
| 8 | * |
|---|
| 9 | * @author andrew |
|---|
| 10 | */ |
|---|
| 11 | public class Network { |
|---|
| 12 | final private ArrayList<FEPLine> lines; |
|---|
| 13 | |
|---|
| 14 | public Network(File LDSFile, File loopFile) |
|---|
| 15 | { |
|---|
| 16 | lines = (ArrayList<FEPLine>) |
|---|
| 17 | new NetworkReader(LDSFile, loopFile).getFEPLines(); |
|---|
| 18 | } |
|---|
| 19 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.