Professional Documents
Culture Documents
Platform Assignment
Platform Assignment
RAILWAY STATION
1.PROBLEM STATEMENT:
This project is about platform assignment system for the train in a railway station. It
contains 3 modules. The first module gets the current time, scheduled time of the train,
expected time to enter the station, departure time and platform no to calculate the time delay
of the train. If the time delay is more than the specified time also if arrival time and platform
no of next train gets clashed then next train cannot be allocated in the same platform.
2.OVERALL DESCRIPTION:
2.1 MODULES:
Login
Train details
Delay calculation
Platform assignment
2.2 MODULE DELIVERABLES:
Login:
Basicflow:To authenticate the user,the admin has to enter username and password
Alternateflow:If the password is wrong, it will ask the admin to answer security question and
retrieve the password
Precondition:The system asks the admin to enter the password
Postcondition:On success,the admin displays the admin information
Train Details:
Basicflow: The train details like train no, scheduled time, expected time to arrive, scheduled
time for departure, expected time to start, platform number and current number is given as
input to calculate the time delay.
Alternateflow: If the train details is not correct admin can report it.
Precondition: The train details should be known.
Postcondition: After verifying all the details, admin is moved to the next state.
Delay calculation:
Basicflow:The entered details are verified with the database and time delay is calculated and
also checks whether there is any clash with the next train timing
Alternateflow:If the details are incorrect, error message is generated.
Precondition:The details of the database should be up to date.
Postcondition:After verification the platform assignment is done.
Platform Assignment:
Basicflow:Based on the delay and arrival of the next train the platform assignment is done.
Alternateflow:If no platform is free then the train is made to wait.
Precondition:The availability of the platform should be known.
Postcondition: The platform is confirmed and the signal is given for the train to stop.
3.UML DIAGRAM:
3.1 Usecase Diagram:
Train details
Admin Database
Delay claculation
Platform assignment
Check the
platform
upatation
Delay clculation
Platform assignment
5: Platform assignment
GUI
Sever Client
4. DATABASE DESIGN
Database name: platform
Table name : rail
5. IMPLEMENTATION:
Coding:
Private sub command1_click()
if text1.text=”HARIHARAN” and text2.text=”1234” then
Form2.show
End if
End sub
Coding:
Private Sub Command1_Click()
Data1.Recordset.addnew
Data1.Recordset.fields("train number") = Text1.Text
Data1.Recordset.fields("train name") = Text2.Text
Data1.Recordset.fields("platform") = Text3.Text
Data1.Recordset.fields("timing") = Text4.Text
Data1.Recordset.Update
End Sub
Test priority
(Low/Medium/High):Medium
2 Provide valid User should be The user is able Success Incase of wrong
password
Able to To login Password was
given an error
Login Successfully
Message box
was
displayed
3 Click login User should be User name and Success Incase user gives
able to navigate to password is wrong entry the
next page after validated and next sign in page
validation page is displayed remains active
RESULT:
The Platform assignment system was designed and implemented successfully.