| Revision 75,
692 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.
|
| Rev | Line | |
|---|
| 1 | package atmsdriver; |
|---|
| 2 | |
|---|
| 3 | import atmsdriver.network.model.Network; |
|---|
| 4 | import java.io.File; |
|---|
| 5 | |
|---|
| 6 | /** |
|---|
| 7 | * |
|---|
| 8 | * @author John A. Torres |
|---|
| 9 | * @version 09/10/2017 |
|---|
| 10 | */ |
|---|
| 11 | public class ATMSDriver { |
|---|
| 12 | final private String ldsFileName = "./lds_data/lookup_lds"; |
|---|
| 13 | final private String loopFileName = "./lds_data/lookup_loop"; |
|---|
| 14 | final private Network network; |
|---|
| 15 | |
|---|
| 16 | public ATMSDriver() |
|---|
| 17 | { |
|---|
| 18 | File ldsFile = new File(ldsFileName); |
|---|
| 19 | File loopFile = new File(loopFileName); |
|---|
| 20 | network = new Network(ldsFile, loopFile); |
|---|
| 21 | } |
|---|
| 22 | |
|---|
| 23 | /** |
|---|
| 24 | * @param args the command line arguments |
|---|
| 25 | */ |
|---|
| 26 | public static void main(String[] args) { |
|---|
| 27 | ATMSDriver driver = new ATMSDriver(); |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.