In this module, let us create Train objects and allow Admin to schedule the trains for a week.
Steps to be followed in this module:
Steps to be followed in this module:
- Create a class called Train by identifying its member variables
- Write the code for the Interface Menu.
- Login as Admin and do the following
- Add new trains
- Save the objects in file
- Schedule the trains for that week. (Note: Check the assumptions we made at the beginning of this project regarding scheduling)
- While scheduling, the folder structure to be created is
- RRS\TrainData\TrainNo
- The entire schedule could also be written into a file
- Display the schedule
- Logout from Admin Interface and log into the User Interface
- Display the schedule based on train
- Display the schedule based on Source and Destination
- Display the schedule based on Date
- Display all the trains scheduled
- Login as Admin and do the following
Comments
Post a Comment