Page 1
RAILWAY INTELLIGENCE SYSTEM
1. INTRODUCTION
Indian Railways is the largest rail network in Asia and the world’s second largest under a
single management. Spreading over the country’s vast geographical area, Indian
Railways is a multi-gauge, multi-traction system covering over 1 lakh track kilometers. It
runs some 11,000 train’s everyday, including 7,000 passenger trains. The passenger
traffic has increased from 1.28 to 4.2 billion in last 40 years, making Indian Railways
(IR) a leading passenger carrying railway in the world. This has placed a difficult task on
the passenger to choose the best route for his journey from many alternatives.
There is a need for software that optimizes the route. That is, choosing from many
possible trains, the one that is best either in terms of 1) distance, 2) cost or 3) time. The
optimization based on distance may not at once seem useful, however it is important
indirectly in that distance traversed in a journey determines it’s cost.
Simulation of Railway Model (RIS) is an Optimal routing website providing metrics for
direct and indirect routes. We implement strategic and tactical algorithms that save time
and money, attract and retain railway users, and reduce complexity of railway network.
This will usually be an interface which the user and the administrator can interact with
the railway components. The database stores all the details of the routes such as name,
stations, trains, cost, etc. There are some types of online querying system, and only for
listing the trains for a journey through stations specified by the passengers. Simulation of
Railway Model can overcome these shortcomings.
This project is aimed to be accessed online via the internet by the users. It not only gives
direct routes but also indirect routes and based on the users input tries to convert the users
choices of time of arrival and departure, class of travel, interval between connecting
stations etc. into a quality metric and based on this metric generates the routed that satisfy
it best.
IT DEPARTMENT, SRMGPC, Lucknow Page 1
Page 2
RAILWAY INTELLIGENCE SYSTEM
The routes are generated by either considering the direct trains, or by considering trains
that connect the two stations to a common station. A list of important stations is
maintained for each station which is search for such common stations. This reduces the
search space greatly which would otherwise be the rest of the stations.
Also in the process, registration of users is also maintained to keep an eye on the users
whom are using the project. This portion of our project can be seen as for security
purpose.
Other details regarding trains, routes, cost, map etc. are also provided to keep the user
updated about any changes in the railway database.
1.1 Aims and Objective :
1.1.1 Obejective:
This project entitled “Railway Intelligence System” has been designed towards
optimizing the route. The project has been an enriching experience for us in the
field of programming and web based application development and management.
The project has been developed to fulfill the requirements of the users using
railway service.
Interactive
The system is interactive and the user can express all his/her needs easily and precisely.
Direct and indirect routes. Monitor different routes more easily.
Time table management. Set up time table for trains by displaying them a clearer
understanding of how their day to day travel contributes to railway routing.
Routes Search. Display different routes with source and destination.
IT DEPARTMENT, SRMGPC, Lucknow Page 2
Page 3
RAILWAY INTELLIGENCE SYSTEM
1.1.2 Aims:
Increase visibility into actual railway routes, providing valuable insight for user to
obtain a route on quality basis.
Attract user with reduce time, cost, and distance.
Improve railway productivity while reducing total management costs.
1.2 SYSTEM ANALYSIS:
1.2.1 Identification of need:
This is the phase during which the problem is identified, alternate system solutions are
studied, and recommendations are made about committing the resources required to
design the system. We did the system study about railway system for RIS. The study
involved the following steps:
Study of Present System
The current RIS System is deal with various system that’s why it is not too much fast
and many times it creates system overload and system hang.
Requirement
By studying the prevalent system in the requirement for the website has
become crystal clear. The main requirement is to provide a faster access of the service
that is route finding and Mail and SMS.
1.2.2 Preliminary Investigation:
This project aims is to provide comfort to user for finding good and appropriate route and
correct train for journey on the basis of minimum distance ,cost and time .
Reason for selection:
The development of a system for railway is the step to provide facility to user for finding
best route for its journey basis on minimum time and cost. Indian Railways is the largest
rail network in Asia and the world’s second largest under a single management.
IT DEPARTMENT, SRMGPC, Lucknow Page 3
Page 4
RAILWAY INTELLIGENCE SYSTEM
Spreading over the country’s vast geographical area, Indian Railways is a multi-gauge,
multi-traction system covering over 1 lakh track kilometers. It runs some 11,000 train’s
everyday, including 7,000 passenger trains. The passenger traffic has increased from 1.28
to 4.2 billion in last 40 years, making Indian Railways (IR) a leading passenger carrying
railway in the world. This has placed a difficult task on the passenger to choose the best
route for his journey from many alternatives.
So for providing user facility and comfort for the journey on the basis of minimum route
and cost . There is some exiting system that also provides the details of the trains but due
to heavy system it is not able to response as soon so for overcoming on this problem we
have designed our system .
Improvements in existing system:
The manual system that provides the information about train delay is very time taking
and with that facility only those user can get information who are at station but the user
who is in home they can’t know about train delay so we have improve the system by
incrementing the automation in the system. And our system provides fast information of
routes and related trains and times.
1.3 Feasibility Study:
Once the system objectives have been ascertained by initial investigation, we need to
spell the various possible solutions to meet the various objectives. The feasibility study is
conducted to check whether the candidate system is feasible. The system, which is
selected to be the best against the criteria, is thereafter designed and developed. The
feasibility study takes into consideration, the risks involved in the project development
beforehand.
Feasibility study includes several distinct but interrelated type of feasibility. These are:
1.3.1 Technical Feasibility:
Focus is on establishing whether the technology needed for the proposed system is
available and how this technology can be integrated within the organization.
Technologies included are:
IT DEPARTMENT, SRMGPC, Lucknow Page 4
Page 5
RAILWAY INTELLIGENCE SYSTEM
Hardware
Software
Application development environment
1.3.2 Economic Feasibility:
It is concerned with the returns or benefits of the organization are likely to derive from
investment in the new system. Estimated costs of new system development and operation
must be balanced against projected tangible as well as intangible benefits.
1.3.3 Operational Feasibility:
It is an evaluation to determine whether a system is operationally acceptable. Two
important dimensions to be accessed are ability and motivation to use the system.
The system is operationally feasible as it is easy to use and can be applied to all kind of
institutions. The project is also technically feasible as all the tools and technology
required for the project is readily available. The requirements for the system are within
the resources provided and hence make the endeavor economically feasible.
IT DEPARTMENT, SRMGPC, Lucknow Page 5
Page 6
RAILWAY INTELLIGENCE SYSTEM
2. LITERATURE REVIEW
Various research papers were reviewed and studied to develop the algorithm for
automatic mail and SMS. These papers have been mentioned in the references. The
results drawn from these papers used in the project are presented here.
2.1 Inference drawn from the research papers: Indian Railways is the largest rail
network in Asia and the world’s second largest under a single management. Spreading
over the country’s vast geographical area, Indian Railways is a multi-gauge, multi-
traction system covering over 1 lakh track kilometers. It runs some 11,000 train’s
everyday, including 7,000 passenger trains. The passenger traffic has increased from 1.28
to 4.2 billion in last 40 years, making Indian Railways (IR) a leading passenger carrying
railway in the world. This has placed a difficult task on the passenger to choose the best
route for his journey from many alternatives.
There is a need for software that optimizes the route. That is, choosing from many
possible trains, the one that is best either in terms of 1) distance, 2) cost or 3) time. The
optimization based on distance may not at once seem useful, however it is important
indirectly in that distance traversed in a journey determines it’s cost.
After learning all research papers we have find that we can find out minimum route many
of different algorithm’s those algorithms are Dijkstra’s algorithm and floyd warshall
algorithm .
2.2 Dijkstra's algorithm, conceived by Dutch computer scientist Edsger Dijkstra
in 1959, is a graph search algorithm that solves the single-source shortest path problem
for a graph with nonnegative edge path costs, producing a shortest path tree. This
algorithm is often used in routing. An equivalent algorithm was developed by Edward F.
Moore in 1957.
For a given source vertex (node) in the graph, the algorithm finds the path with lowest
cost (i.e. the shortest path) between that vertex and every other vertex. It can also be used
for finding costs of shortest paths from a single vertex to a single destination vertex by
stopping the algorithm once the shortest path to the destination vertex has been
IT DEPARTMENT, SRMGPC, Lucknow Page 6
Page 7
RAILWAY INTELLIGENCE SYSTEM
determined. For example, if the vertices of the graph represent cities and edge path costs
represent driving distances between pairs of cities connected by a direct road, Dijkstra's
algorithm can be used to find the shortest route between one city and all other cities. As a
result, the shortest path first is widely used in network routing protocols, most notably IS-
IS and OSPF (Open Shortest Path First).
In computer science, the Floyd–Warshall algorithm (sometimes known as the WFI
Algorithm or Roy–Floyd algorithm) is a graph analysis algorithm for finding shortest
paths in a weighted graph. A single execution of the algorithm will find the shortest paths
between all pairs of vertices. The algorithm is an example of dynamic programming.
The Floyd–Warshall algorithm compares all possible paths through the graph between
each pair of vertices. It is able to do this with only Θ(V3) comparisons in a graph. This is
remarkable considering that there may be up to Ω(V2) edges in the graph, and every
combination of edges is tested. It does so by incrementally improving an estimate on the
shortest path between two vertices, until the estimate is known to be optimal.
Consider a graph G with vertices V, each numbered 1 through N. Further consider a
function shortestPath(i, j, k) that returns the shortest possible path from i to j using only
vertices 1 to k as intermediate points along the way. Now, given this function, our goal is
to find the shortest path from each i to each j using only nodes 1 to k + 1.
There are two candidates for this path: either the true shortest path only uses nodes in the
set {1, ..., k}; or there exists some path that goes from i to k + 1, then from k + 1 to j that
is better. We know that the best path from i to j that only uses nodes 1 through k is
defined by shortestPath(i, j, k), and it is clear that if there were a better path from i to
k + 1 to j, then the length of this path would be the concatenation of the shortest path
from i to k + 1 (using vertices in {1, ..., k}) and the shortest path from k + 1 to j (also
using vertices in {1, ..., k}).
The algorithm works by first computing shortestPath(i, j, k) for all (i, j) pairs for k = 1,
then k = 2, etc. This process continues until k = n, and we have found the shortest path for
all (i, j) pairs using any intermediate vertices.
IT DEPARTMENT, SRMGPC, Lucknow Page 7
Page 8
RAILWAY INTELLIGENCE SYSTEM
3. PROPOSED METHODOLOGY
A process model for software engineering is chosen based on the nature of the project
and application, the methods and tools to be used, and the controls and deliverables that
are required.
Among the various available Software Process Models (Waterfall model, Spiral
model, Prototype model, etc) the best suited for this project is the Incremental Model.
3.1 Incremental Model:
The incremental build model is a method of software development where the model is
designed, implemented and tested incrementally (a little more is added each time) until
the product is finished. It involves both development and maintenance. The product is
defined as finished when it satisfies all of its requirements. This model combines the
elements of the waterfall model with the iterative philosophy of prototyping.
The product is decomposed into a number of components, each of which are designed
and built separately (termed as builds). Each component is delivered to the client when it
is complete. This allows partial utilization of product and avoids a long development
time. It also creates a large initial capital outlay with the subsequent long wait avoided.
This model of development also helps ease the traumatic effect of introducing complete
project all at once.
IT DEPARTMENT, SRMGPC, Lucknow Page 8
Page 9
RAILWAY INTELLIGENCE SYSTEM
Figure 3.1(Incremental Model)
3.2 Detailed Life Cycle of project:
3.2.1. Problem Identification
3.2.2. Preliminary investigation
3.2.3. Feasibility study
3.2.4. Determination of requirements
3.2.5. Design of system
3.2. 6. Development of software
3.2.7. System testing
3.2.8. System implementation
IT DEPARTMENT, SRMGPC, Lucknow Page 9
Page 10
RAILWAY INTELLIGENCE SYSTEM
3.2.1. Problem Identification:- This is the first phase of system analysis
and designing. In this phase the analyst identify the organization and
taking the need of system.
3.2.2. Preliminary investigation:-In the preliminary investigation the
analysis identify the requirement through the following process that is
o On site observation
o Questionnaires
o Documentation
o Conducting interview
3.2.3. Feasibility study: - Once the system objectives have been
ascertained by initial investigation, we need to spell the various possible
solutions to meet the various objectives. The feasibility study is conducted
to check whether the candidate system is feasible. The system, which is
selected to be the best against the criteria, is thereafter designed and
developed. The feasibility study takes into consideration, the risks
involved in the project development beforehand. They are
Time feasibility
Operational feasibility
Technical feasibility
3.2.4. Determination of requirements: - Requirement Analysis is the first technical step
in the software engineering process. It is at this point that a general statement of software
scope is refined into a concrete specification that becomes a foundation for all the
software engineering activities that follow.
Analysis must focus on the informational, functional, and behavioral domains of a
problem. To better understand what is required, models are created, the problem is
partitioned, and representation that depict the essence of requirements and later,
implementation detail, are developed.
IT DEPARTMENT, SRMGPC, Lucknow Page 10
Page 11
RAILWAY INTELLIGENCE SYSTEM
A software requirements specification is developed as a consequence of analysis. Review
is essential to ensure that developer and customer have the same perception of the
system. Unfortunately, even with best of methods, the problem is that the problem keeps
changing.
3.2.4.1. Functional Requirements:
a. Data should be given in a correct form in order to avoid getting erroneous results.
b. The value of transportation cost and the assignment cost should be known prior to
calculate the optimal transportation and assignment cost
c. In order to prepare the budgets the proper and the correct data is to be considered.
d. The end users should input correct figures so that the Ratio Analysis may result as
per expectations.
e. Data should be checked for validity
f. Consistency between the information provided in different forms under a scheme
should be checked
g. Messages should be given for improper input data, and invalid data item should
be ignored.
3.2.4.2. External Interface Requirements: Functions are provided at click of the
button. The output requires different type of inputs for desired result. It has been carefully
analyzed that the user has to give a set of minimum commands to complete any
operation.
Command names reflect the operation they perform. We have tried to make interface deal
with incorrect inputs and prevent errors from entering the system where possible. It also
helps the user to correct the entry. There are usually controls associated with input to
ensure that no erroneous data enters the system. Similarly Output is laid out in an easy to
read way.
3.2.4.3. Performance requirements: The following characteristics were taken care of
in developing the system.
1. User friendliness: The system is easy to learn and understand. A naive user can
also use the system effectively, without any difficulty.
IT DEPARTMENT, SRMGPC, Lucknow Page 11
Page 12
RAILWAY INTELLIGENCE SYSTEM
2. Response time: Response time of all the operations is kept low. This has been
made possible by careful planning.
3. Error handling: Response to user errors and undesired situations have been
taken care of to ensure that system operates without halting in case of such
situation and proper error messages are given to user.
4. Safety: The system is able to avoid catastrophic behavior.
5. Robustness: The system recovers from the undesired events without human
intervention.
6. Security: The system provides protection of information through the mechanism
of password incorporated in it. Therefore only authorized people can access it
database.
7. Accuracy: The system is highly accurate thus its utility is very high.
8. Portability: The system can be moved to new Hardware /Software after making
minor changes in it.
9. Cost Element: Servicing a given demand in the system doesn’t
require a lot of money.
3.2.5. Design of system: when the analysis identifies the requirement, then designing
phase is start. In this phase the flow chart and DFD are designed. Design is the most
important part of the development phase for any product or system because design is the
place where quality is fostered. Design is the only thing, which accurately translates a
customer’s requirement in to a finished software product or system. The design step
produces a data design, an architectural design, and Interface Design and a Procedural
Design.
System specialists often refer to this stage as logical description, in contrast to the process
of developing the program software, which is referred to as physical design.
The system design describes the data to be input, calculated or stored. Individual data
items and calculation procedures are written in detail. The procedures tell how to process
the data and produce the output.
IT DEPARTMENT, SRMGPC, Lucknow Page 12
Page 13
RAILWAY INTELLIGENCE SYSTEM
In the process separate tables have been created for specific details .In order to make the
response time negligible all the tables have been created in the memory file system.
Indexes have been created on the tables in which the number of records is very large.
3.2.6. Development of software: In this phase coding is started and all the designs developed are coded on the selected platform.
3.2.7. System testing: In this project we have performed three levels of testing: Unit
testing, Integration testing and system testing.
3.2.7.1. Approach for testing: For unit testing, structural testing based on the branch
coverage criterion is used. System testing is largely functional in nature. The focus was
on invalid and valid cases, boundary values, and special cases. For each data entry
screen , we prepared test data with extreme values & tested under all relevant test
conditions. It was it was extensively tested that all forms function in the manner as
expected by them and give accurate results. After my own satisfaction, we invited the
concerned user to test the system.
3.2.7.2. First level of Testing: Erroneous entry is not accepted during the very time of
input. To check these errors we have pressed wrong keys spontaneously and trying to trap
and to check that if they lie in the acceptable range. If they are not acceptable in specified
range the error message regarding particular error splashes on the screen. This strategy
for whole activity is used as follows:
To stop alphanumeric entry where only numbers are required.
To restrict the length of an entry for a particular field so that it that input is
consistent with the data structure and also lies in the acceptable range.
3.2.7.3. Second level of testing: Values are accepted as the user enters them and then
checked for validity.
While making entries in a form, if the user tries to skip a field that cannot hold a null
value an appropriate message is displayed conveying to the user that data must be
provided.
IT DEPARTMENT, SRMGPC, Lucknow Page 13
Page 14
RAILWAY INTELLIGENCE SYSTEM
When possible lists are provided to see the valid choice for the field. Once a value has
been entered into a field, the cursor moves to the next field only after ensuring that the
value entered in the current field is valid.
3.2.8 System implementation: In this section, we will be discussing the plan, which will
be adopted while implementation of the software in any organization. Implementation is
the process of having systems personnel check out and put new equipment into use, train
users, install the new application and construct any files of data needed to use it.
Depending on the size of the organization that will be involved in using the application
and the risk associated with its use, systems developers may choose to test the operation
in only one area of the department, or with only one or two persons. Since organization
systems are the business environment undergoes continual change, the information
systems should keep pace. In this sense, implementation is an ongoing process. The
description of the implementation plan in the department is as follows:-
In conversion from manual to computerized, the objective is to put the tested system into
operation while holding cost, risks and personal irritation to a minimum. It involves
creating:
1. Computer compatible files
2. Training operating staff
3. Installing terminals and hardware
A critical aspect of conversion is not disrupting the functioning of organization.
Conversion should be existing, because it is the last step before the candidate system
begins to show results. Unfortunately the results of conversions have been chaotic and
traumatic for many firms. Unforeseen difficulties crop up as the system breaks down,
data files are damaged and tempers grow short. The training package is frequently not
complete and people are trying to figure out what to do. Much of these stems from poor
planning or no planning at all. Therefore to avoid such problems we will be using the
“parallel run approach”.
The basic steps involve in the conversion are as follows:
IT DEPARTMENT, SRMGPC, Lucknow Page 14
Page 15
RAILWAY INTELLIGENCE SYSTEM
Conversion begins with a review of project plan, the system test documentation
and the implementation plan.
The conversion portion of implementation plan is finalized and approved.
Files are converted.
Parallel processing between the existing and new system is initiated.
Results of computer runs and operations for the new system are logged on a
special form.
Assuming no problem, parallel processing is discontinued. Implementation results
are documented for reference.
Conversion is completed. Plans for the post implementation review are prepared.
Following the review, the new system is officially operational.
The reason behind the use of this approach is that the software has been prepared and
tested on a standalone system. So, this software will be used along with the manual
system in the organization for sometimes to test its functioning under real life conditions.
If there will be any problem with the software, then necessary changes will be made in
the software and then it will be implemented for use. However, if there is no problem
experienced by the users, then the manual system will be discontinued for further use and
the department will use this software alone.
3.2.8.1. Pre Implementation Review: Pre implementation review means to check the
system that whether it is working properly or not before the use of the system that is
system is tested with all test cases before its implementation. If it works properly with all
the test cases then only the system is implemented otherwise some amendments have to
be made in the system and the system is checked again. There are many methods to
perform pre implementation review. They are as under:
Parallel system
Pilot approach
Phase in methods
IT DEPARTMENT, SRMGPC, Lucknow Page 15
Page 16
RAILWAY INTELLIGENCE SYSTEM
All these approaches are followed to find out that whether the system will work out
properly after it is implemented. Once these approaches satisfy the users then only the
system is implemented in the department and is used by the users to perform their tasks.
In this system we have adopted the parallel run approach to find out that
whether the system is giving proper result or not and we had come to the result that the
system is performing all the task very efficiently and in very less time compared to the
time taken when the work is done manually. So after the satisfaction of ourselves and the
user implementation of the system is done.
3.2.8.2. Post Implementation Review: After the system is implemented and
conversion is completed, a review of the system is usually conducted by the users and
analysts alike. Not only is this a normal practice, but it should be a formal process to
determine how well the system is working, how it has been accepted, and whether
adjustments are needed.
The review is all important to gather information for the maintenance of
the system. Since no system is really ever complete, it will be maintained as changes are
required because of internal developments, such as new users or new activities, and
external developments, such as new legal requirements, new standards, or competition.
The post implementation review provides the first source of information for maintenance
requirements.
The most fundamental concern during post implementation review is determining
whether the system has met its objective; that is, analysts want to know if the
performance level of users has improved and if the system is producing the result
intended.
In general, the data collection methods of questionnaire, interview,
observation, sampling, and record inspection are most useful for collecting details about
the new system. These review methods emphasize the importance of collecting both
quantitative and subjective data to determine the suitability of the system. There is no
substitute for effective review.
IT DEPARTMENT, SRMGPC, Lucknow Page 16
Page 17
RAILWAY INTELLIGENCE SYSTEM
In this project we have done the post implementation review by
inspecting the records as well as by interviewing the users of the system and at last find
that this system is capable of performing all the work for which the software is made in
very proper way. No information is lost by using this software and the time is also
reduced to complete a task compared to the time spend when the work is done manually.
4. HARDWARE AND SOFTWARE REQUIREMENTS AND SPECIFICATIONS
4.1. Brief plan of work:
The progress of the project throughout the academic session can be visualized through
the gantt chart and pert chart given below:
4.1.1. WBS(work break down structure):
Figure 3.2 WBS
IT DEPARTMENT, SRMGPC, Lucknow Page 17
Page 18
RAILWAY INTELLIGENCE SYSTEM
4.1.2. Gantt Chart:
Figure 3.3: Gantt chart
4.1.3. Pert Chart:
IT DEPARTMENT, SRMGPC, Lucknow Page 18
Page 19
RAILWAY INTELLIGENCE SYSTEM
Figure 3.4:pert chart
4.2. Hardware :
Number Description Type
1. Processor Pentium III or higher
2. RAM 1GB
3. HDD 100gb
4. Monitor SVGA/VGA with resolution
1024 by 768 pixels
Table 4.1(Hardware specification)
4.3. Software :
Number Description Category
1. Windows 2000 /XP with ms-office
Operating System
2. Microsoft Visual Studio Front end
IT DEPARTMENT, SRMGPC, Lucknow Page 19
Page 20
RAILWAY INTELLIGENCE SYSTEM
3. Microsoft Sql sever 2005 Back end
Table 4.2(software specification)
5. SOFTWARE ENGINEERING PARADIGM APPLIED:
A successful software project involves a lot more than just efficient programming.
Regardless of the scale or complexity of any individual application, all projects contain
the same progressive core development phases during which all of the uniform and
project specific tasks, issues and considerations need to be addressed in a structured and
methodical way. Throughout the whole development cycle we constantly review and test
the quality of the code we develop to ensure our solutions are intuitive, fault tolerant and
incorporate transactional isolation.
A typical roadmap within a bespoke development project incorporates the following 6
core development phases and their associated tasks and development stages:
5.1. Analysis
Project Overview Feasibility Study Initial Requirement Analysis Budgeting Strategy Resource/Responsibilities Planning
IT DEPARTMENT, SRMGPC, Lucknow Page 20
Page 21
RAILWAY INTELLIGENCE SYSTEM
Consultancy / Project Scoping
5.2. Design
Review Project Overview Requirement Definition Data Analysis Software Functional Design Create Functional Specification Design Review Functional Specification Develop Initial Prototype Sample Review Project Specification Aesthetics Design Specification Specification Change Control/ Acceptance Check Create Final Project Specification Design Review Final Project Specification Design Project Design Completion
5.3. Preparation
Specification Conformance/ Acceptance Check Code Modifications Integration/ Data Testing Final Code Modifications Code Completion Change Control Help/ Documentation Specification Help/ Documentation Production
5.4. Development
Development Division Of Work Coding Initial Debugging Report Writing Aesthetics Design
5.5. Implementation
Beta Version User Training Beta Version Deployment Pre Implementation Modifications Software Completion
IT DEPARTMENT, SRMGPC, Lucknow Page 21
Page 22
Requirement Analysis Specification
Designing
Coding
Testing &validationvalidation
Operation and Maintenance
RAILWAY INTELLIGENCE SYSTEM
System Manager Training Technical Environment Deployment User Training Final Data Conversion/ Data Preparation Application Integration/ Data Loading Parallel Implementation
5.6. Support
Post Implementation Review Future Requirement Planning/ Change Control Technical Support Routine Service And Maintenance Future Development
Figure 4.1
To solve actual problems in an industry setting, a software engineering or a team of
engineers must incorporate a development strategy that encompasses the process,
IT DEPARTMENT, SRMGPC, Lucknow Page 22
Page 23
RAILWAY INTELLIGENCE SYSTEM
method, and tools layers. This strategy is often referred to as a process model or a
software engineering paradigm.
A process model or a software engineering is chosen based on the nature of the project
application, the method and tools to be used, and the controls and deliverables that are
required.
There are so many software paradigms some of these are:
Liner sequential model (water fall model).
Prototyping model.
The RAD model.
Incremental model
This project is built using the incremental model.
System/information engineering and modeling:
Because software is always part of larger system (or business), work begins by
establishing requirements for all system element and then allocating some subset of these
requirements to software. This system view is essential when software must interact with
other elements such as hardware, people, and databases. System engineering and analysis
encompass requirements gathering at the system level with a small amount of to level
design and analysis. Information engineering encompasses requirement gathering at the
strategic business level and at business area level.
Software requirements analysis:-
The requirement gathering process is intensified and focused specifically on software
engineer (analyst) must understand the information domain for the software, as well as
required function, behavior, performance, and interface. Requirements for both the
system and the software are documented with the customer.
IT DEPARTMENT, SRMGPC, Lucknow Page 23
Page 24
RAILWAY INTELLIGENCE SYSTEM
Design:
Software design is actually a multi step process that focuses on four distinct attributes of
a program: data structure, software architecture,
Interface representations, and procedural detail. The design process translates
requirements into a representation of the software that can be assessed for quality before
coding begins. Like requirements, the design is documented and becomes and becomes a
part of the software configuration.
Testing:
Once code has been generated, program testing begins. The testing process focuses on the
logical internals of the software, ensuring that all statement have tested, and on the
functional externals; that is conducting tests to uncover errors and ensure that define
input will produce actual result that agree with required result.
Support:
Software will undoubtedly undergo changes after it is delivered to the customer.
Changes will occur because errors have been encountered, because the software the
software must be adopted to accommodate changes in its external environment, or
because the customer require functional or performance enhancements. Software
support/maintains reapplies each of the proceeding phases to an existing rather a new
one.
5.7. Approach for software development:In general there are three approaches to software development life cycle namely:
5.7.1. Sequential Approach
In this approach jumping to a later phase or coming to a previous phase is not
allowed.
5.7.2. Iterative Approach
IT DEPARTMENT, SRMGPC, Lucknow Page 24
Page 25
RAILWAY INTELLIGENCE SYSTEM
In an iterative approach, if there is sufficient reason to do so, one may return
to previously completed step, introduce a change, and then propagate the effects
of that change forward in the life cycle.
5.7.3. Recursive Approach
A recursive approach is that where the entire approach may be reapplied to the
end products of the approach. This approach is handy in the prototype model.
We have used the iterative approach here as there were many steps that needed modification and improvements.
6. IMPLEMENTATION
6.1. Choice of platform used:
6.1.1.Windows as operating system:-
At the present windows is the popular operating system available which supports
graphical user interface and is user friendly also.
6.1.2. ASP.NET as front end:-
ASP.NET is a web application framework developed and marketed by Microsoft to
allow programmers to build dynamic web sites, web applications and web services. It
was first released in January 2002 with version 1.0 of the .NET Framework, and is the
successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the
Common Language Runtime (CLR), allowing programmers to write ASP.NET code
using any supported .NET language.
IT DEPARTMENT, SRMGPC, Lucknow Page 25
Page 26
RAILWAY INTELLIGENCE SYSTEM
ASP.NET aims for performance benefits over other script-based technologies (including
Classic ASP) by compiling the server-side code to one or more DLL files on the web
server. This compilation happens automatically the first time a page is requested (which
means the developer need not perform a separate compilation step for pages). This
feature provides the ease of development offered by scripting languages with the
performance benefits of a compiled binary. However, the compilation might cause a
noticeable but short delay to the web user when the newly-edited page is first requested
from the web server, but won't again unless the page requested is updated further.
The ASPX and other resource files are placed in a virtual host on an Internet Information
Services server (or other compatible ASP.NET servers; see Other Implementations,
below). The first time a client requests a page, the .NET framework parses and compiles
the file(s) into a .NET assembly and sends the response; subsequent requests are served
from the DLL files. By default ASP.NET will compile the entire site in batches of 1000
files upon first request. If the compilation delay is causing problems, the batch size or the
compilation strategy may be tweaked.
Developers can also choose to pre-compile their code before deployment, eliminating the
need for just-in-time compilation in a production environment. This also eliminates the
need of having the source code on the web server.
6.1.3. BENEFITS FOR DEVELOPERS:-
The ability to write ASP.NET applications in the following programming languages:
VB.NET, C#, Jscript.NET.
Forms support a large variety of server controls and are available. You can also write
your own user or server controls.
ASP.NET pages are compiled instead of interpreted like classic ASP: this can
dramatically increase Web site performance.
IT DEPARTMENT, SRMGPC, Lucknow Page 26
Page 27
RAILWAY INTELLIGENCE SYSTEM
Session variables will no longer be lost when a Web site is restarted or even if the
server is restarted. This means improved reliability for your Web site.
ASP.NET Mobile Internet Toolkit allows you to target cell phones, PDAs and other
types of mobile devices easily. Currently, over 80 mobile devices are supported with
just one code base. Based on the requesting device, ASP.NET automatically generates
the appropriate WAP/WML, HTML or iMode code.
6.2. SQL SERVER AS BACK END: -
Microsoft SQL Server is a relational model database server produced by Microsoft. Its
primary query languages are T-SQL and ANSI SQL.
Microsoft Visual Studio includes native support for data programming with Microsoft
SQL Server. It can be used to write and debug code to be executed by SQL CLR. It also
includes a data designer that can be used to graphically create, view or edit database
schemas. Queries can be created either visually or using code. SSMS 2008 onwards,
provides intellisense for SQL queries as well.
6.2.1. SERVICES:
SQL Server also includes an assortment of add-on services. While these are not essential
for the operation of the database system, they provide value added services on top of the
core database management system. These services either run as a part of some SQL
Server component or out-of-process as Windows Service and presents their own API to
control and interact with them.
1. Service Broker:-
Used inside an instance, it is used to provide an asynchronous programming environment.
For cross instance applications, Service Broker communicates The Service Broker, which
runs as a part of the database engine, provides a reliable messaging and message
queuing platform for SQL Server applications over TCP/IP and allows the different
components to be synchronized together, via exchange of messages.
IT DEPARTMENT, SRMGPC, Lucknow Page 27
Page 28
RAILWAY INTELLIGENCE SYSTEM
2. Replication Services:-
SQL Server Replication Services are used by SQL Server to replicate and synchronize
database objects, either in entirety or a subset of the objects present, across replication
agents, which might be other database servers across the network, or database caches on
the client side. Replication follows a publisher/subscriber model, i.e., the changes are sent
out by one database server ("publisher") and are received by others ("subscribers"). SQL
Server supports three different types of replication:
3. Transaction replication:-
Each transaction made to the publisher database (master database) is synced out to
subscribers, who update their databases with the transaction. Transactional replication
synchronizes databases in near real time.
4. Merge replication:-
Changes made at both the publisher and subscriber databases are tracked, and
periodically the changes are synchronized bi-directionally between the publisher and the
subscribers. If the same data has been modified differently in both the publisher and the
subscriber databases, synchronization will result in a conflict which has to be resolved -
either manually or by using pre-defined policies. Rowguid needs to be configured on a
column if merge replication is configured.
5. Snapshot replication:-
Snapshot replication published a copy of the entire database (the then-snapshot of the
data) and replicates out to the subscribers. Further changes to the snapshot are not
tracked.
6. Analysis Services:-
Server Analysis Services adds OLAP and data mining capabilities for SQL Server
databases. The OLAP engine supports MOLAP, ROLAP and HOLAP storage modes for
data. Analysis Services supports the XML for Analysis standard as the underlying
communication protocol. The cube data can be accessed using MDX queries. Data mining
IT DEPARTMENT, SRMGPC, Lucknow Page 28
Page 29
RAILWAY INTELLIGENCE SYSTEM
specific functionality is exposed via the DMX query language. Analysis Services
includes various algorithms - Decision trees, clustering algorithm, Naive Bayes
algorithm, time series analysis, sequence clustering algorithm, linear and
logistic regression analysis, and neural networks - for use in data mining.
7. Reporting Services:-
Server Reporting Services is a report generation environment for data gathered from
SQL Server databases. It is administered via a web interface. Reporting services features
a web services interface to support the development of custom reporting applications.
Reports are created as RDL files.
Reports can be designed using recent versions of Microsoft Visual Studio (Visual
Studio.NET 2003, 2005, and 2008) with Business Intelligence Development Studio,
installed or with the included Report Builder. Once created, RDL files can be rendered in
a variety of forma
Ts including Excel, PDF, CSV, XML, TIFF (and other image formats), and HTML Web
Archive.
8. Notification Services:-
Originally introduced as a post-release add-on for SQL Server 2000, Notification
Services was bundled as part of the Microsoft SQL Server platform for the first and only
time with SQL Server 2005. with Sql Server 2005, SQL Server Notification Services is a
mechanism for generating data-driven notifications, which are sent to Notification
Services subscribers. A subscriber registers for a specific event or transaction (which is
registered on the database server as a trigger); when the event occurs, Notification
Services can use one of three methods to send a message to the subscriber informing
about the occurrence of the event. These methods include SMTP, SOAP, or by writing to
a file in the file-system. Notification Services was discontinued by Microsoft with the
release of SQL Server 2008 in August 2008, and is no longer an officially supported
component of the SQL Server database platform.
IT DEPARTMENT, SRMGPC, Lucknow Page 29
Page 30
RAILWAY INTELLIGENCE SYSTEM
9. Integration Services:-
SQL Server Integration Services is used to integrate data from different data sources. It is
used for the ETL capabilities for SQL Server for data warehousing needs. Integration
Services includes GUI tools to build data extraction workflows integration various
functionality such as extracting data from various sources, querying data, transforming
data including aggregating, duplication and merging data, and then loading the
transformed data onto other sources, or sending e-mails detailing the status of the
operation as defined by the user.
10. Full Text Search Service:-
SQL Server Full Text Search service is a specialized indexing and querying service for
unstructured text stored in SQL Server databases. The full text search index can be
created on any column with character based text data. It allows for words to be searched
for in the text columns. While it can be performed with the SQL LIKE operator, using
SQL Server Full Text Search service can be more efficient. Full Text Search (FTS)
IT DEPARTMENT, SRMGPC, Lucknow Page 30
Page 31
RAILWAY INTELLIGENCE SYSTEM
allows for inexact matching of the source string, indicated by a Rank value which can
range from 0 to 1000 - a higher rank means a more accurate match. It also allows
linguistic matching ("inflectional search"), i.e., linguistic variants of a word (such as a
verb in a different tense) will also be a match for a given word (but with a lower rank
than an exact match). Proximity searches are also supported, i.e., if the words searched
for do not occur in the sequence they are specified in the query but are near each other,
they are also considered a match. T-SQL exposes special operators that can be used to
access the FTS capabilities.
The Full Text Search engine is divided into two processes - the Filter Daemon process
(msftefd.exe) and the Search process (msftesql.exe). These processes interact with the
SQL Server. The Search process includes the indexer (that creates the full text indexes)
and the full text query processor. The indexer scans through text columns in the database.
It can also index through binary columns, and use iFilters to extract meaningful text from
the binary blob (for example, when a Microsoft Word document is stored as an
unstructured binary file in a database). The iFilters are hosted by the Filter Daemon
process. Once the text is extracted, the Filter Daemon process breaks it up into a
sequence of words and hands it over to the indexer. The indexer filters out noise words,
i.e., words like A, And etc., which occur frequently and are not useful for search. With the
remaining words, an inverted index is created, associating each word with the columns
they were found in. SQL Server itself includes a Gatherer component that monitors
changes to tables and invokes the indexer in case of updates.
When a full text query is received by the SQL Server query processor, it is handed over
to the FTS query processor in the Search process. The FTS query processor breaks up the
query into the constituent words, filters out the noise words, and uses an
inbuilt thesaurus to find out the linguistic variants for each word. The words are then
queried against the inverted index and a rank of their accurateness is computed. The
results are returned to the client via the SQL Server process.
6.2.2. Security:-
IT DEPARTMENT, SRMGPC, Lucknow Page 31
Page 32
RAILWAY INTELLIGENCE SYSTEM
A privilege and password system that is very flexible and secure, and that allows host-
based verification. Passwords are secure because all password traffic is encrypted when
you connect to a server.
6.2.3.Compatibility:-
1. Microsoft SQL Server 2008 R2 Management Studio (including the Express
edition) is backwards compatible with SQL Server 2000. The Management Studio
only shows options based on the version of SQL Server you connect to. For
example, when connecting the 2008 R2 edition of Management Studio to SQL
Server 2000 to manage a database, the "Change Tracking" option is missing.
When connecting the 2008 R2 edition of Management Studio to SQL Server 2008
R2, the "Change Tracking" option appears in the list when managing a database.
2. The express edition can connect to a non-express version of SQL
6.3 SOFTWARE DESIGN APPROACH:
The software design of the system can be best explained using the use case and the
architecture diagram.
Use case Diagram: This overall use case diagram depicts the various functions users
can perform.
6.4 Database Design:
A properly designed database is a model of a business, or some "thing" in the real world.
Like their physical model counterparts, data models enable you to get answers about the
IT DEPARTMENT, SRMGPC, Lucknow Page 32
User
Login
Search for trains
Train details
Page 33
RAILWAY INTELLIGENCE SYSTEM
facts that make up the objects being modeled. It's the questions that need answers that
determine which facts need to be stored in the data model.
In the relational model, data is organized in tables that have the following characteristics:
every record has the same number of facts; every field contains the same type of facts in
each record; there is only one entry for each fact; no two records are exactly the same; the
order of the records and fields is not important.
This diagram does not depict the actual tables and all their columns rather has condensed
several tables in one and shows only the important fields. This has been done for sake of
ease and clarity of depiction. The actual database consists of the following tables:
6.4.1. Registration Table
Table 5.2
6.4.2. Train Table:
IT DEPARTMENT, SRMGPC, Lucknow Page 33
Page 34
RAILWAY INTELLIGENCE SYSTEM
Table 5.3
Snapshot Of Registration Table :
IT DEPARTMENT, SRMGPC, Lucknow Page 34
Page 35
RAILWAY INTELLIGENCE SYSTEM
Table 5.4
Snapshot Of Train Table :
Table 5.5
6.5. Module Description:
IT DEPARTMENT, SRMGPC, Lucknow Page 35
Page 36
RAILWAY INTELLIGENCE SYSTEM
6.5.1.)Route Finding: This Is most important module of our project, in this user
search for train that will take minimum time to reach its destination. In our project
when user search for train our project provides all possible train details with Arrival
time and departure time and all possible stoppages with the total time that will be
taken by train.
6.5.2.)Registration: In our project for getting its services you have to register
first then only you can get its services. Without registration you can not use its
services .
6.5.3.)Automatic Mail & SMS: we are providing automatic mail and SMS on
train delay only to registered users. They will get the detail of train delay at every
step.
6.5.4.)Admin: There is admin page on which only admin can edit,delete and
modify train detail and train status. No other can make changes in train status.
6.5.5.)Station Master: Station master will enter train detail including its running time and delay time and stoppage details.
6.6. DFD(Data flow Diagram):
IT DEPARTMENT, SRMGPC, Lucknow Page 36
Page 37
RAILWAY INTELLIGENCE SYSTEM
6.7. USER INTERFACE DESIGN:
There are several phases and processes in the user interface design, some of which are
more demanded upon than others, depending on the project. (Note: for the remainder of
this section, the word system is used to denote any project whether it is a web site,
application, or device.)
Functionality requirements gathering – assembling a list of the functionality
required by the system to accomplish the goals of the project and the potential
needs of the users.
User analysis – analysis of the potential users of the system either through
discussion with people who work with the users and/or the potential users
themselves. Typical questions involve:
o What would the user want the system to do?
o How would the system fit in with the user's normal workflow or daily
activities?
o How technically savvy is the user and what similar systems does the user
already use?
o What interface look & feel styles appeal to the user?
IT DEPARTMENT, SRMGPC, Lucknow Page 37
Intelligent
Railway System
user
Request for train info
Response
AdminUpdate Info
Trains
Mail &sms
List of trains
Page 38
RAILWAY INTELLIGENCE SYSTEM
Information architecture – development of the process and/or information flow of
the system (i.e. for phone tree systems, this would be an option tree flowchart and
for web sites this would be a site flow that shows the hierarchy of the pages).
Prototyping – development of wireframes, either in the form of paper prototypes
or simple interactive screens. These prototypes are stripped of all look & feel
elements and most content in order to concentrate on the interface.
Usability testing – testing of the prototypes on an actual user—often using a
technique called think aloud protocol where you ask the user to talk about their
thoughts during the experience.
Graphic Interface design – actual look & feel design of the final graphical user
interface (GUI). It may be based on the findings developed during the usability
testing if usability is unpredictable, or based on communication objectives and
styles that would appeal to the user. In rare cases, the graphics may drive the
prototyping, depending on the importance of visual form versus function. If the
interface requires multiple skins, there may be multiple interface designs for one
control panel, functional feature or widget. This phase is often a collaborative
effort between a graphic designer and a user interface designer, or handled by one
who is proficient in both disciplines.
User interface design requires a good understanding of user needs. The various phases of
user interface design are:
IT DEPARTMENT, SRMGPC, Lucknow Page 38
Page 39
RAILWAY INTELLIGENCE SYSTEM
Figure 4.2
Requirements of a good user interface:
The dynamic characteristics of a system are described in terms of dialogue requirements
contained in seven principles of part 10 of the ergonomics standard, the ISO 9241. This
standard establishes a framework of ergonomic "principles" for the dialogue techniques
with high-level definitions and illustrative applications and examples of the principles.
The principles of the dialogue represent the dynamic aspects of the interface and can be
mostly regarded as the "feel" of the interface. The seven dialogue principles are:
Suitability for the task: the dialogue is suitable for a task when it supports the user
in the effective and efficient completion of the task.
Self-descriptiveness: the dialogue is self-descriptive when each dialogue step is
immediately comprehensible through feedback from the system or is explained to
the user on request.
Controllability: the dialogue is controllable when the user is able to initiate and
control the direction and pace of the interaction until the point at which the goal
has been met.
IT DEPARTMENT, SRMGPC, Lucknow Page 39
Page 40
RAILWAY INTELLIGENCE SYSTEM
Conformity with user expectations: the dialogue conforms with user expectations
when it is consistent and corresponds to the user characteristics, such as task
knowledge, education, experience, and to commonly accepted conventions.
Error tolerance: the dialogue is error tolerant if despite evident errors in input, the
intended result may be achieved with either no or minimal action by the user.
Suitability for individualization: the dialogue is capable of individualization when
the interface software can be modified to suit the task needs, individual
preferences, and skills of the user.
Suitability for learning: the dialogue is suitable for learning when it supports and
guides the user in learning to use the system.
The concept of usability is defined in Part 11 of the ISO 9241 standard by effectiveness,
efficiency, and satisfaction of the user. Part 11 gives the following definition of usability:
Usability is measured by the extent to which the intended goals of use of the
overall system are achieved (effectiveness).
The resources that have to be expended to achieve the intended goals (efficiency).
The extent to which the user finds the overall system acceptable (satisfaction).
Effectiveness, efficiency, and satisfaction can be seen as quality factors of usability. To
evaluate these factors, they need to be decomposed into sub-factors, and finally, into
usability measures.
The information presentation is described in Part 12 of the ISO 9241 standard for the
organization of information (arrangement, alignment, grouping, labels, location), for the
display of graphical objects, and for the coding of information (abbreviation, color, size,
shape, visual cues) by seven attributes. The "attributes of presented information"
represent the static aspects of the interface and can be generally regarded as the "look" of
the interface. The attributes are detailed in the recommendations given in the standard.
Each of the recommendations supports one or more of the seven attributes. The seven
presentation attributes are:
Clarity: the information content is conveyed quickly and accurately.
IT DEPARTMENT, SRMGPC, Lucknow Page 40
Page 41
RAILWAY INTELLIGENCE SYSTEM
Discriminability: the displayed information can be distinguished accurately.
Conciseness: users are not overloaded with extraneous information.
Consistency: a unique design, conformity with user’s expectation.
Detectability: the user’s attention is directed towards information required.
Legibility: information is easy to read.
Comprehensibility: the meaning is clearly understandable, unambiguous,
interpretable, and recognizable.
The user guidance in Part 13 of the ISO 9241 standard describes that the user guidance
information should be readily distinguishable from other displayed information and
should be specific for the current context of use. User guidance can be given by the
following five means:
Prompts indicating explicitly (specific prompts) or implicitly (generic prompts)
that the system is available for input.
Feedback informing about the user’s input timely, perceptible, and non-intrusive.
Status information indicating the continuing state of the application, the system’s
hardware and software components, and the user’s activities.
Error management including error prevention, error correction, user support for
error management, and error messages.
On-line help for system-initiated and user initiated requests with specific
information for the current context of use.
Here we have tried to identify all these features and include them in the user interface
design to make the user interface attractive, usable and error tolerant.
IT DEPARTMENT, SRMGPC, Lucknow Page 41
Page 42
RAILWAY INTELLIGENCE SYSTEM
6.8. FORM DESIGN
Screenshots:
Registration form:
Figure 4.3
IT DEPARTMENT, SRMGPC, Lucknow Page 42
Page 43
RAILWAY INTELLIGENCE SYSTEM
Login form:
Figure 4.4
IT DEPARTMENT, SRMGPC, Lucknow Page 43
Page 44
RAILWAY INTELLIGENCE SYSTEM
Change Password:
Figure 4.5
IT DEPARTMENT, SRMGPC, Lucknow Page 44
Page 45
RAILWAY INTELLIGENCE SYSTEM
Contact Us:
Figure 4.6
IT DEPARTMENT, SRMGPC, Lucknow Page 45
Page 46
RAILWAY INTELLIGENCE SYSTEM
AboutUs:
Figure 5.1
Home Page Before Login:
IT DEPARTMENT, SRMGPC, Lucknow Page 46
Page 47
RAILWAY INTELLIGENCE SYSTEM
Figure 5.2
Home Page:
Figure 5.3
IT DEPARTMENT, SRMGPC, Lucknow Page 47
Page 48
RAILWAY INTELLIGENCE SYSTEM
Train Running Information:
Figure 5.4
IT DEPARTMENT, SRMGPC, Lucknow Page 48
Page 49
RAILWAY INTELLIGENCE SYSTEM
Pages After Selection Of Train:
Figure 5.5
IT DEPARTMENT, SRMGPC, Lucknow Page 49
Page 50
RAILWAY INTELLIGENCE SYSTEM
Station Master:
Figure 5.6
Admin Page:
Figure 6.1
IT DEPARTMENT, SRMGPC, Lucknow Page 50
Page 51
RAILWAY INTELLIGENCE SYSTEM
6.9 Coding:
Coding For Registration Page
Registration.aspx
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Default3" Title="Untitled Page" %>
<%@ Register assembly="Lanap.BotDetect" namespace="Lanap.BotDetect" tagprefix="BotDetect" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style17
{
width: 100%;
}
.style18
{
width: 93px;
}
.style19
{
width: 338px;
}
.style20
{
width: 93px;
font-weight: bold;
IT DEPARTMENT, SRMGPC, Lucknow Page 51
Page 52
RAILWAY INTELLIGENCE SYSTEM
}
.style21
{
width: 93px;
height: 23px;
}
.style22
{
width: 338px;
height: 23px;
}
.style23
{
height: 23px;
}
</style>
<script type="text/javascript">
function a()
{
var pass=document.getElementById('TextBox6').value;
if(pass.length>4)
{
document.getElementById('div1').innerHTML="Strong pass";
}
else
{
document.getElementById('div1').innerHTML="week pass";
}
IT DEPARTMENT, SRMGPC, Lucknow Page 52
Page 53
RAILWAY INTELLIGENCE SYSTEM
}
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p> </p>
<table class="style17">
<tr>
<td class="style20">
User Name</td>
<td class="style19">
<asp:TextBox ID="TextBox1" runat="server" Placeholder="UserName" Width="200px" ValidationGroup="a"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="TextBox1" ErrorMessage="Enter User Id" ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style20" style="height: 26px">
First Name</td>
<td class="style19" style="height: 26px">
<asp:TextBox ID="TextBox2" runat="server" Width="200px" ValidationGroup="a"></asp:TextBox>
</td>
<td style="height: 26px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="TextBox2" ErrorMessage="please enter first name" ValidationGroup="a"></asp:RequiredFieldValidator>
IT DEPARTMENT, SRMGPC, Lucknow Page 53
Page 54
RAILWAY INTELLIGENCE SYSTEM
<asp:RangeValidator ID="RangeValidator1" runat="server"
ControlToValidate="TextBox2" ErrorMessage="Enter only character"
MaximumValue="z" MinimumValue="a" ValidationGroup="a"></asp:RangeValidator>
</td>
</tr>
<tr>
<td class="style20">
Middle Name</td>
<td class="style19">
<asp:TextBox ID="TextBox3" runat="server" Width="200px" ValidationGroup="a"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td class="style20">
Last Name</td>
<td class="style19">
<asp:TextBox ID="TextBox4" runat="server" Width="200px" ValidationGroup="a"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="TextBox4" ErrorMessage="Enter Last name" ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
</tr>
IT DEPARTMENT, SRMGPC, Lucknow Page 54
Page 55
RAILWAY INTELLIGENCE SYSTEM
<tr>
<td class="style20">
D_O_B</td>
<td class="style19">
<asp:TextBox ID="TextBox5" runat="server" Width="200px" ValidationGroup="a"></asp:TextBox>
<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">calender</asp:LinkButton>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox5"
ErrorMessage="Enter Valid Date" ValidationGroup="a"></asp:RequiredFieldValidator>
<asp:Calendar ID="Calendar1" runat="server" BackColor="White"
BorderColor="#3366CC" BorderWidth="1px" CellPadding="1"
DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
ForeColor="#003399" Height="200px"
onselectionchanged="Calendar1_SelectionChanged" Visible="False" Width="220px">
<SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
<SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
<WeekendDayStyle BackColor="#CCCCFF" />
<TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
<OtherMonthDayStyle ForeColor="#999999" />
<NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
<DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
<TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px"
Font-Bold="True" Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
</asp:Calendar>
</td>
IT DEPARTMENT, SRMGPC, Lucknow Page 55
Page 56
RAILWAY INTELLIGENCE SYSTEM
</tr>
<tr>
<td class="style20" style="height: 26px">
Password</td>
<td class="style19" style="height: 26px">
<asp:TextBox ID="TextBox6" runat="server" Width="200px" ValidationGroup="a"
TextMode="Password" onkeyup="a()"></asp:TextBox>
</td>
<td style="height: 26px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"
ControlToValidate="TextBox6" ErrorMessage="Enter Password" ValidationGroup="a"></asp:RequiredFieldValidator>
<div id="div1">
</div>
</td>
</tr>
<tr>
<td class="style20">
Re-Password</td>
<td class="style19">
<asp:TextBox ID="TextBox7" runat="server" Width="200px" ValidationGroup="a"
TextMode="Password"></asp:TextBox>
</td>
<td>
<asp:CompareValidator ID="CompareValidator1" runat="server"
ControlToCompare="TextBox6" ControlToValidate="TextBox7"
ErrorMessage="Password do not Match" ValidationGroup="a"></asp:CompareValidator>
</td>
IT DEPARTMENT, SRMGPC, Lucknow Page 56
Page 57
RAILWAY INTELLIGENCE SYSTEM
</tr>
<tr>
<td class="style20">
Mobile No-</td>
<td class="style19">
<asp:TextBox ID="TextBox8" runat="server" Width="200px" ValidationGroup="a"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"
ControlToValidate="TextBox8" ErrorMessage="Enter Mobile No." ValidationGroup="a"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"
ControlToValidate="TextBox8" ErrorMessage="enter 10 digit mobile no."
ValidationExpression="\d{10}"></asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td class="style20">
E-mail</td>
<td class="style19">
<asp:TextBox ID="TextBox10" runat="server" Width="200px" ValidationGroup="a"></asp:TextBox>
</td>
<td>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
ControlToValidate="TextBox10" ErrorMessage="Enter valid E-mail"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="a"></asp:RegularExpressionValidator>
IT DEPARTMENT, SRMGPC, Lucknow Page 57
Page 58
RAILWAY INTELLIGENCE SYSTEM
</td>
</tr>
<tr>
<td class="style20">
Address</td>
<td class="style19">
<asp:TextBox ID="TextBox9" runat="server" Height="43px" TextMode="MultiLine"
Width="200px" ValidationGroup="a"></asp:TextBox>
<br />
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server"
ControlToValidate="TextBox9" ErrorMessage="Enter Address" ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style20">
Sex</td>
<td class="style19">
<asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" ValidationGroup="a">
<asp:ListItem>Male</asp:ListItem>
<asp:ListItem>Female</asp:ListItem>
</asp:RadioButtonList></td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="RadioButtonList1"
IT DEPARTMENT, SRMGPC, Lucknow Page 58
Page 59
RAILWAY INTELLIGENCE SYSTEM
ErrorMessage="Select a choice" ValidationGroup="a"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td class="style21">
</td>
<td class="style22">
<BotDetect:Captcha ID="Captcha1" runat="server" />
</td>
<td class="style23">
<asp:Literal ID="Literal1" runat="server"></asp:Literal>
</td>
</tr>
<tr>
<td class="style21">
</td>
<td class="style22">
<asp:TextBox ID="TextBox11" runat="server" Width="193px"></asp:TextBox>
</td>
<td class="style23">
</td>
</tr>
<tr>
<td class="style18">
</td>
<td class="style19">
<asp:Button ID="Button1" runat="server" BorderStyle="None" Font-Bold="True"
IT DEPARTMENT, SRMGPC, Lucknow Page 59
Page 60
RAILWAY INTELLIGENCE SYSTEM
Text="Register" Width="90px" OnClick="Button1_Click" ValidationGroup="a" />
</td>
<td>
</td>
</tr>
</table>
</asp:Content>
Registration.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.Sql;
using System.Data.SqlClient;
public partial class Default3 : System.Web.UI.Page
{
SqlDataAdapter sda = new SqlDataAdapter();
SqlConnection con = new SqlConnection();
protected void Page_Load(object sender, EventArgs e)
IT DEPARTMENT, SRMGPC, Lucknow Page 60
Page 61
RAILWAY INTELLIGENCE SYSTEM
{
//if (Session["username"] == null)
// Session["username"] = TextBox1.Text;
con = new SqlConnection("Data Source=.;Initial Catalog=RailwayIntel;Integrated Security=true");
con.Open();
}
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
string p1 = FormsAuthentication.HashPasswordForStoringInConfigFile(TextBox6.Text, "MD5");
string p2 = FormsAuthentication.HashPasswordForStoringInConfigFile(TextBox7.Text, "MD5");
//FormsAuthentication.Decrypt("p1");
sda.InsertCommand = new SqlCommand();
sda.InsertCommand.CommandText = "insert into Customer values ('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3 .Text +"', '"+TextBox4 .Text+"','" +TextBox5.Text +"', '"+p1+"', '"+p2+"', '"+TextBox8.Text+"', '"+TextBox10 .Text+"','"+TextBox9.Text +"','"+ RadioButtonList1.SelectedValue + "')";
sda.InsertCommand.Connection = con;
sda.InsertCommand.ExecuteNonQuery();
IT DEPARTMENT, SRMGPC, Lucknow Page 61
Page 62
RAILWAY INTELLIGENCE SYSTEM
if (IsPostBack)
{
string code = TextBox11.Text.Trim().ToUpper();
if (Captcha1.Validate(code))
{
Literal1.Text = "successful registration";
Response.Redirect("Regsucess.aspx");
// Literal1.Text = "Correct image verification";
}
else
{
Literal1.Text = "Incorrect image verification";
TextBox11.Text = null;
}
con.Close();
//Session["username"] = TextBox1.Text;
//Response.Redirect("Regsucess.aspx");
}
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Calendar1.Visible = true;
}
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
TextBox5.Text = Calendar1.SelectedDate.ToShortDateString();
IT DEPARTMENT, SRMGPC, Lucknow Page 62
Page 63
RAILWAY INTELLIGENCE SYSTEM
Calendar1.Visible = false;
}
protected void TextBox1_TextChanged(object sender, EventArgs e)
{
}
}
Coding For Home Page.aspx
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="HOME.aspx.cs" Inherits="Default2" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style12
{
font-weight: bold;
background-color: #FF99FF;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="height: 100px">
<span class="style12">
<marquee>WELCOME TO RIS.</marquee>
<br />
<br />
IT DEPARTMENT, SRMGPC, Lucknow Page 63
Page 64
RAILWAY INTELLIGENCE SYSTEM
<br />
After Registration You can use the services of RIS.[<asp:LinkButton
ID="LinkButton1" runat="server" PostBackUrl="~/Login.aspx" OnClick="LinkButton1_Click"><span class="style12">Login</span></asp:LinkButton>
] </span>
<br />
<br />
<br />
<br />
<br />
</div>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
</asp:Content>
Code For Login Page
Login.aspx
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" Title="Untitled Page" %>
IT DEPARTMENT, SRMGPC, Lucknow Page 64
Page 65
RAILWAY INTELLIGENCE SYSTEM
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style17
{
width: 100%;
}
.style18
{
width: 151px;
}
.style19
{
width: 234px;
}
.style20
{
width: 151px;
font-weight: bold;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p>
<br />
</p>
<p style="height: 21px">
IT DEPARTMENT, SRMGPC, Lucknow Page 65
Page 66
RAILWAY INTELLIGENCE SYSTEM
<asp:LinkButton ID="LinkButton2" runat="server" PostBackUrl="~/Register.aspx" OnClick="LinkButton2_Click">Register For New User</asp:LinkButton>
</p>
<table class="style17">
<tr>
<td class="style20">
User Name</td>
<td class="style19">
<asp:TextBox ID="TextBox1" runat="server" PlaceHolder="User Name"
ValidationGroup="a" Width="144px"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="TextBox1" ErrorMessage="Enter user id" ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style20">
Password</td>
<td class="style19">
<asp:TextBox ID="TextBox2" runat="server" Placeholder="Password" TextMode="Password" Width="148px" ValidationGroup="a"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
IT DEPARTMENT, SRMGPC, Lucknow Page 66
Page 67
RAILWAY INTELLIGENCE SYSTEM
ControlToValidate="TextBox2" ErrorMessage="Enter Password" ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style18">
</td>
<td class="style19">
<asp:Literal ID="Literal1" runat="server"></asp:Literal></td>
<td>
</td>
</tr>
<tr>
<td class="style18">
</td>
<td class="style19">
<asp:Button ID="Button1" runat="server" Text="Login" ValidationGroup="a" OnClick="Button1_Click" />
<asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/Forget.aspx" OnClick="LinkButton1_Click">Change Password</asp:LinkButton>
</td>
<td>
</td>
</tr>
</table>
<p>
</p>
IT DEPARTMENT, SRMGPC, Lucknow Page 67
Page 68
RAILWAY INTELLIGENCE SYSTEM
<p>
</p>
<p>
</p>
<p>
</p>
</asp:Content>
Login.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.SqlClient;
public partial class Login : System.Web.UI.Page
{
SqlDataAdapter sda = new SqlDataAdapter();
SqlConnection con = new SqlConnection();
DataSet ds = new DataSet();
SqlDataReader dr;
SqlCommand cmd = new SqlCommand(); int flag;
IT DEPARTMENT, SRMGPC, Lucknow Page 68
Page 69
RAILWAY INTELLIGENCE SYSTEM
protected void Page_Load(object sender, EventArgs e)
{
if (Session["uname"] == null)
Session["uname"] = 1;
else
Session["uname"] = TextBox1.Text;
con = new SqlConnection("Data Source=.;Initial Catalog=RailwayIntel;Integrated security=true");
sda = new SqlDataAdapter();
}
protected void LinkButton2_Click(object sender, EventArgs e)
{
Response.Redirect("Register.aspx");
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect("Forget.aspx");
}
protected void Button1_Click(object sender, EventArgs e)
{
string s = FormsAuthentication.HashPasswordForStoringInConfigFile(TextBox2.Text, "MD5");
con.Open();
ds = new DataSet();
sda.SelectCommand = new SqlCommand();
sda.SelectCommand.CommandText = "select * from Customer where Uname='"+TextBox1 .Text+"' and Pass='"+s+"'";
sda.SelectCommand.Connection = con;
//sda.SelectCommand.ExecuteReader();
IT DEPARTMENT, SRMGPC, Lucknow Page 69
Page 70
RAILWAY INTELLIGENCE SYSTEM
dr = sda.SelectCommand.ExecuteReader();
if (dr.Read())
{
Response.Redirect("mainhome.aspx");
}
else
Literal1.Text="sorry wrong uname and password";
dr.Close();
con.Close();
}
}
Code For Change Password
Password.aspx
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Forget.aspx.cs" Inherits="Forget" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style17
{
font-size: large;
font-weight: bold;
color: #FF6600;
font-family: "Times New Roman", Times, serif;
}
IT DEPARTMENT, SRMGPC, Lucknow Page 70
Page 71
RAILWAY INTELLIGENCE SYSTEM
.style18
{
width: 100%;
}
.style19
{
width: 158px;
}
.style20
{
width: 428px;
}
.style21
{
width: 158px;
font-weight: bold;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p>
<br />
<span class="style17">Change<strong> Password</strong></span></p>
<table class="style18">
<tr>
IT DEPARTMENT, SRMGPC, Lucknow Page 71
Page 72
RAILWAY INTELLIGENCE SYSTEM
<td class="style21">
User Name</td>
<td class="style20">
<asp:TextBox ID="TextBox1" runat="server" Width="143px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="TextBox1" ErrorMessage="please enter username"
ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
<td>
</td>
</tr>
<tr>
<td class="style21" style="height: 26px">
Old Password</td>
<td class="style20" style="height: 26px">
<asp:TextBox ID="TextBox2" runat="server" Width="143px" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="TextBox2" ErrorMessage="r old password"></asp:RequiredFieldValidator>
</td>
<td style="height: 26px">
</td>
</tr>
<tr>
<td class="style19">
New Password</td>
<td class="style20">
<asp:TextBox ID="TextBox3" runat="server" Width="142px" TextMode="Password"></asp:TextBox>
IT DEPARTMENT, SRMGPC, Lucknow Page 72
Page 73
RAILWAY INTELLIGENCE SYSTEM
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="TextBox3" ErrorMessage="new password" ValidationGroup="a"></asp:RequiredFieldValidator>
</td>
<td>
</td>
</tr>
<tr>
<td class="style19">
Re Type Password</td>
<td class="style20">
<asp:TextBox ID="TextBox4" runat="server" Width="140px" TextMode="Password"></asp:TextBox>
<asp:CompareValidator ID="CompareValidator1" runat="server"
ControlToCompare="TextBox3" ControlToValidate="TextBox4"
ErrorMessage="password not match"></asp:CompareValidator>
</td>
<td>
</td>
</tr>
<tr>
<td class="style19">
</td>
<td class="style20">
<asp:Button ID="Button1" runat="server" BorderStyle="Groove" Font-Bold="True"
Text="Submit" OnClick="Button1_Click" ValidationGroup="a" />
<asp:Literal ID="Literal1" runat="server"></asp:Literal>
</td>
IT DEPARTMENT, SRMGPC, Lucknow Page 73
Page 74
RAILWAY INTELLIGENCE SYSTEM
<td>
</td>
</tr>
</table>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
</asp:Content>
Password.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.SqlClient;
public partial class Forget : System.Web.UI.Page
IT DEPARTMENT, SRMGPC, Lucknow Page 74
Page 75
RAILWAY INTELLIGENCE SYSTEM
{
SqlConnection con = new SqlConnection();
SqlCommand cmd = new SqlCommand();
SqlCommandBuilder cd = new SqlCommandBuilder();
SqlDataAdapter adp = new SqlDataAdapter();
DataSet ds = new DataSet();
DataRow dr;
protected void Page_Load(object sender, EventArgs e)
{
con = new SqlConnection("Data Source=.;Initial Catalog=RailwayIntel;Integrated security=true");
cmd.Connection = con;
adp.SelectCommand = cmd;
}
protected void Button1_Click(object sender, EventArgs e)
{
con.Open();
string p1 = FormsAuthentication.HashPasswordForStoringInConfigFile(TextBox2.Text, "MD5");
string p2 = FormsAuthentication.HashPasswordForStoringInConfigFile(TextBox3.ToString(), "MD5");
cmd.CommandText = "select * from Customer where Uname='" +TextBox1. Text + "'and Pass='" +p1+ "'";
adp.Fill(ds, "rs");
if (ds.Tables["rs"].Rows.Count == 0)
{
//Label1.Visible = true;
Literal1.Text = "INVALID USER";
}
IT DEPARTMENT, SRMGPC, Lucknow Page 75
Page 76
RAILWAY INTELLIGENCE SYSTEM
else
{
cmd.CommandText = "update Customer set Pass='" + p2 + "'where Uname='" + TextBox1.Text + "' and Pass='" + p1 + "'";
cmd.ExecuteNonQuery();
con.Close();
Response.Redirect("passwordsend.aspx");
}
}
}
Code For Station Master
Station Master.aspx
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="StationMaster.aspx.cs" Inherits="StationMaster1" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 799px">
<tr>
<td style="width: 100px">
STATION MASTER</td>
<td style="width: 100px">
</td>
<td style="width: 132px">
IT DEPARTMENT, SRMGPC, Lucknow Page 76
Page 77
RAILWAY INTELLIGENCE SYSTEM
<asp:Literal ID="Literal2" runat="server"></asp:Literal>
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Logout" /></td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
<td style="width: 132px">
<br />
</td>
</tr>
<tr>
<td style="width: 100px">
Train No.</td>
<td style="width: 100px">
<asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="True">
<asp:ListItem>Select Trian No</asp:ListItem>
<asp:ListItem>2003</asp:ListItem>
<asp:ListItem>2108</asp:ListItem>
<asp:ListItem>2174</asp:ListItem>
<asp:ListItem>2435</asp:ListItem>
<asp:ListItem>2523</asp:ListItem>
<asp:ListItem>2524</asp:ListItem>
<asp:ListItem>2532</asp:ListItem>
<asp:ListItem>2533</asp:ListItem>
<asp:ListItem>2541</asp:ListItem>
<asp:ListItem>2556</asp:ListItem>
IT DEPARTMENT, SRMGPC, Lucknow Page 77
Page 78
RAILWAY INTELLIGENCE SYSTEM
<asp:ListItem>2566</asp:ListItem>
<asp:ListItem>2592</asp:ListItem>
<asp:ListItem>3483</asp:ListItem>
<asp:ListItem>4013</asp:ListItem>
</asp:DropDownList></td>
<td style="width: 132px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="DropDownList5"
ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 100px">
Stoppage</td>
<td style="width: 100px">
<asp:DropDownList ID="DropDownList6" runat="server" DataSourceID="SqlDataSource1" DataTextField="station" DataValueField="station">
</asp:DropDownList>
</td>
<td style="width: 132px">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:RailwayIntelConnectionString2 %>"
SelectCommand="SELECT [station] FROM [stoppage] WHERE ([Trainno] = @Trainno)"
onselecting="SqlDataSource1_Selecting">
<SelectParameters>
<asp:ControlParameter ControlID="DropDownList3" Name="Trainno" PropertyName="SelectedValue"
Type="String" />
</SelectParameters>
IT DEPARTMENT, SRMGPC, Lucknow Page 78
Page 79
RAILWAY INTELLIGENCE SYSTEM
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 100px; height: 24px">
Train Arrival</td>
<td style="width: 100px; height: 24px">
<asp:DropDownList ID="DropDownList2" runat="server">
<asp:ListItem>01</asp:ListItem>
<asp:ListItem>02</asp:ListItem>
<asp:ListItem>03</asp:ListItem>
<asp:ListItem>04</asp:ListItem>
<asp:ListItem>05</asp:ListItem>
<asp:ListItem>06</asp:ListItem>
<asp:ListItem>07</asp:ListItem>
<asp:ListItem>08</asp:ListItem>
<asp:ListItem>09</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
IT DEPARTMENT, SRMGPC, Lucknow Page 79
Page 80
RAILWAY INTELLIGENCE SYSTEM
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem>01</asp:ListItem>
<asp:ListItem>02</asp:ListItem>
<asp:ListItem>03</asp:ListItem>
<asp:ListItem>04</asp:ListItem>
<asp:ListItem>05</asp:ListItem>
<asp:ListItem>06</asp:ListItem>
<asp:ListItem>07</asp:ListItem>
<asp:ListItem>08</asp:ListItem>
<asp:ListItem>09</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
IT DEPARTMENT, SRMGPC, Lucknow Page 80
Page 81
RAILWAY INTELLIGENCE SYSTEM
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
<asp:ListItem>32</asp:ListItem>
<asp:ListItem>33</asp:ListItem>
<asp:ListItem>34</asp:ListItem>
<asp:ListItem>35</asp:ListItem>
<asp:ListItem>36</asp:ListItem>
<asp:ListItem>37</asp:ListItem>
<asp:ListItem>38</asp:ListItem>
<asp:ListItem>39</asp:ListItem>
<asp:ListItem>40</asp:ListItem>
<asp:ListItem>41</asp:ListItem>
<asp:ListItem>42</asp:ListItem>
<asp:ListItem>43</asp:ListItem>
<asp:ListItem>44</asp:ListItem>
<asp:ListItem>45</asp:ListItem>
<asp:ListItem>46</asp:ListItem>
<asp:ListItem>47</asp:ListItem>
<asp:ListItem>48</asp:ListItem>
<asp:ListItem>49</asp:ListItem>
<asp:ListItem>50</asp:ListItem>
IT DEPARTMENT, SRMGPC, Lucknow Page 81
Page 82
RAILWAY INTELLIGENCE SYSTEM
<asp:ListItem>51</asp:ListItem>
<asp:ListItem>52</asp:ListItem>
<asp:ListItem>53</asp:ListItem>
<asp:ListItem>54</asp:ListItem>
<asp:ListItem>55</asp:ListItem>
<asp:ListItem>56</asp:ListItem>
<asp:ListItem>57</asp:ListItem>
<asp:ListItem>58</asp:ListItem>
<asp:ListItem>59</asp:ListItem>
<asp:ListItem>60</asp:ListItem>
</asp:DropDownList></td>
<td style="width: 132px; height: 24px">
Date:<asp:TextBox ID="TextBox1" runat="server" ></asp:TextBox>
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">Calender</asp:LinkButton>
<asp:Calendar ID="Calendar1" runat="server" OnSelectionChanged="Calendar1_SelectionChanged" BackColor="White" BorderColor="#3366CC" BorderWidth="1px" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#003399" Height="200px" Width="220px">
<SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
<SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
<WeekendDayStyle BackColor="#CCCCFF" />
<TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
<OtherMonthDayStyle ForeColor="#999999" />
<NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
<DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
<TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" Font-Bold="True"
Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
IT DEPARTMENT, SRMGPC, Lucknow Page 82
Page 83
RAILWAY INTELLIGENCE SYSTEM
</asp:Calendar>
</td>
</tr>
<tr>
<td style="width: 100px">
Train Departure</td>
<td style="width: 100px">
<asp:DropDownList ID="DropDownList4" runat="server">
<asp:ListItem>01</asp:ListItem>
<asp:ListItem>02</asp:ListItem>
<asp:ListItem>03</asp:ListItem>
<asp:ListItem>04</asp:ListItem>
<asp:ListItem>05</asp:ListItem>
<asp:ListItem>06</asp:ListItem>
<asp:ListItem>07</asp:ListItem>
<asp:ListItem>08</asp:ListItem>
<asp:ListItem>09</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
IT DEPARTMENT, SRMGPC, Lucknow Page 83
Page 84
RAILWAY INTELLIGENCE SYSTEM
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList5" runat="server">
<asp:ListItem>01</asp:ListItem>
<asp:ListItem>02</asp:ListItem>
<asp:ListItem>03</asp:ListItem>
<asp:ListItem>04</asp:ListItem>
<asp:ListItem>05</asp:ListItem>
<asp:ListItem>06</asp:ListItem>
<asp:ListItem>07</asp:ListItem>
<asp:ListItem>08</asp:ListItem>
<asp:ListItem>09</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
IT DEPARTMENT, SRMGPC, Lucknow Page 84
Page 85
RAILWAY INTELLIGENCE SYSTEM
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
<asp:ListItem>32</asp:ListItem>
<asp:ListItem>33</asp:ListItem>
<asp:ListItem>34</asp:ListItem>
<asp:ListItem>35</asp:ListItem>
<asp:ListItem>36</asp:ListItem>
<asp:ListItem>37</asp:ListItem>
<asp:ListItem>38</asp:ListItem>
<asp:ListItem>39</asp:ListItem>
<asp:ListItem>40</asp:ListItem>
<asp:ListItem>41</asp:ListItem>
<asp:ListItem>42</asp:ListItem>
<asp:ListItem>43</asp:ListItem>
<asp:ListItem>44</asp:ListItem>
<asp:ListItem>45</asp:ListItem>
<asp:ListItem>46</asp:ListItem>
<asp:ListItem>47</asp:ListItem>
<asp:ListItem>48</asp:ListItem>
<asp:ListItem>49</asp:ListItem>
<asp:ListItem>50</asp:ListItem>
IT DEPARTMENT, SRMGPC, Lucknow Page 85
Page 86
RAILWAY INTELLIGENCE SYSTEM
<asp:ListItem>51</asp:ListItem>
<asp:ListItem>52</asp:ListItem>
<asp:ListItem>53</asp:ListItem>
<asp:ListItem>54</asp:ListItem>
<asp:ListItem>55</asp:ListItem>
<asp:ListItem>56</asp:ListItem>
<asp:ListItem>57</asp:ListItem>
<asp:ListItem>58</asp:ListItem>
<asp:ListItem>59</asp:ListItem>
<asp:ListItem>60</asp:ListItem>
</asp:DropDownList></td>
<td style="width: 132px">
<asp:Button ID="Button1" runat="server" Text="Submit" Width="90px" OnClick="Button1_Click" /></td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
<td style="width: 132px">
<asp:Literal ID="Literal1" runat="server" Visible="False"></asp:Literal></td>
</tr>
</table>
</asp:Content>
Station Master.cs
IT DEPARTMENT, SRMGPC, Lucknow Page 86
Page 87
RAILWAY INTELLIGENCE SYSTEM
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Net;
using System.Net.Mail;
using System.Net.Mime;
public partial class StationMaster1 : System.Web.UI.Page
{
SqlConnection con = new SqlConnection();
SqlCommand cmd = new SqlCommand();
SqlCommandBuilder cd = new SqlCommandBuilder();
SqlDataAdapter adp = new SqlDataAdapter();
DataSet ds = new DataSet();
SqlDataReader dr;
protected void Page_Load(object sender, EventArgs e)
{
Literal2.Text = Session["uname"].ToString();
Calendar1.Visible = false;
IT DEPARTMENT, SRMGPC, Lucknow Page 87
Page 88
RAILWAY INTELLIGENCE SYSTEM
con = new SqlConnection("Data Source=.;Initial Catalog=RailwayIntel;Integrated Security=true");
cmd.Connection = con;
adp.SelectCommand = cmd;
}
protected void Button1_Click(object sender, EventArgs e)
{
con.Open();
cmd.CommandText = "update stoppage set date='" + TextBox1.Text.ToString() + "',arr='"+ DropDownList2.SelectedValue+":"+ DropDownList1.SelectedValue+"',dep='"+ DropDownList4.SelectedValue +":"+DropDownList5 .SelectedValue+"'where station='" + DropDownList6.SelectedValue + "'";
adp.SelectCommand = new SqlCommand();
adp.SelectCommand . CommandText ="select * from Customer where Uname = '"+Session ["Uname"].ToString ()+"'";
adp.SelectCommand.Connection = con;
dr = adp.SelectCommand.ExecuteReader ();
while (dr.Read())
{
Literal1.Text = dr[8].ToString ();
}
try
{
//MailAttachment atc = new MailAttachment(Server.MapPath(".")+"\\file");
string str_from_address = "[email protected] ";
string str_name = "Railway Intelligence System";
string str_to_address = Literal1 .Text ;
IT DEPARTMENT, SRMGPC, Lucknow Page 88
Page 89
RAILWAY INTELLIGENCE SYSTEM
MailMessage email_msg = new MailMessage();
email_msg.From = new MailAddress(str_from_address, str_name);
email_msg.Sender = new MailAddress(str_from_address, str_name);
email_msg.ReplyTo = new MailAddress(str_from_address, str_name);
email_msg.To.Add(str_to_address);
email_msg.Subject = "Train Is Delay";
email_msg.Body = "The Train is delay";
SmtpClient mail_client = new SmtpClient();
NetworkCredential network_cdr = new NetworkCredential();
network_cdr.UserName = str_from_address;
network_cdr.Password = "gangamishra";
mail_client.Credentials = network_cdr;
mail_client.Port = 587;
mail_client.Host = "smtp.gmail.com";
mail_client.EnableSsl = true;
mail_client.Send(email_msg);
//Literal1.Text = "email successfully sent";
// mailToTxt.Text = "";
// mailTxt.Text = "";
// subjectTxt.Text = "";
}
catch (Exception ex)
{
Response.Write(ex.Message);
}
dr.Close();
cmd.ExecuteNonQuery();
IT DEPARTMENT, SRMGPC, Lucknow Page 89
Page 90
RAILWAY INTELLIGENCE SYSTEM
con.Close();
Response.Redirect("SucessfulUpdates.aspx");
}
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
TextBox1.Text = Calendar1.SelectedDate.ToString ();
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
Calendar1.Visible = true;
}
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("Logout.aspx");
}
protected void SqlDataSource1_Selecting(object sender, SqlDataSourceSelectingEventArgs e)
{
}
}
Code For Train Information
Train.aspx
IT DEPARTMENT, SRMGPC, Lucknow Page 90
Page 91
RAILWAY INTELLIGENCE SYSTEM
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Minimumroute.aspx.cs" Inherits="Minimumroute" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p>
<asp:Image ID="Image3" runat="server" ImageUrl="~/IMAGES/te.gif" />
<br />
<table style="width: 522px; height: 79px">
<tr>
<td style="width: 163px">
<asp:TextBox ID="TextBox1" runat="server" Width="136px"></asp:TextBox>
</td>
<td style="width: 52px">
</td>
<td style="width: 61px">
</td>
</tr>
<tr>
<td style="width: 163px">
<asp:TextBox ID="TextBox2" runat="server" Width="133px"></asp:TextBox>
</td>
<td style="width: 52px">
IT DEPARTMENT, SRMGPC, Lucknow Page 91
Page 92
RAILWAY INTELLIGENCE SYSTEM
</td>
<td style="width: 61px">
</td>
</tr>
<tr>
<td style="width: 163px">
<asp:Button ID="Button1" runat="server" Text="Submit" Width="123px" OnClick="Button1_Click1" /></td>
<td style="width: 52px">
</td>
<td style="width: 61px">
</td>
</tr>
<tr>
<td style="width: 163px">
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RailwayIntelConnectionString %>"
SelectCommand="SELECT * FROM [TrainInfo] WHERE (([From] = @From) AND ([To] = @To))"
DeleteCommand="DELETE FROM [TrainInfo] WHERE [Trainno] = @Trainno"
InsertCommand="INSERT INTO [TrainInfo] ([Trainno], [Trainname], [Type], [From], [Dep], [To], [Arr], [TravelTime], [DepDays], [Classes], [Distance], [AvgDelay]) VALUES (@Trainno, @Trainname, @Type, @From, @Dep, @To, @Arr, @TravelTime, @DepDays, @Classes, @Distance, @AvgDelay)"
UpdateCommand="UPDATE [TrainInfo] SET [Trainname] = @Trainname, [Type] = @Type, [From] = @From, [Dep] = @Dep, [To] = @To, [Arr] = @Arr, [TravelTime] = @TravelTime, [DepDays] = @DepDays, [Classes] = @Classes, [Distance] = @Distance, [AvgDelay] = @AvgDelay WHERE [Trainno] = @Trainno">
IT DEPARTMENT, SRMGPC, Lucknow Page 92
Page 93
RAILWAY INTELLIGENCE SYSTEM
<SelectParameters>
<asp:ControlParameter ControlID="TextBox1" Name="From" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="TextBox2" Name="To" PropertyName="Text" Type="String" />
</SelectParameters>
<DeleteParameters>
<asp:Parameter Name="Trainno" Type="Decimal" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="Trainname" Type="String" />
<asp:Parameter Name="Type" Type="String" />
<asp:Parameter Name="From" Type="String" />
<asp:Parameter Name="Dep" Type="String" />
<asp:Parameter Name="To" Type="String" />
<asp:Parameter Name="Arr" Type="String" />
<asp:Parameter Name="TravelTime" Type="String" />
<asp:Parameter Name="DepDays" Type="String" />
<asp:Parameter Name="Classes" Type="String" />
<asp:Parameter Name="Distance" Type="String" />
<asp:Parameter Name="AvgDelay" Type="String" />
<asp:Parameter Name="Trainno" Type="Decimal" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="Trainno" Type="Decimal" />
<asp:Parameter Name="Trainname" Type="String" />
<asp:Parameter Name="Type" Type="String" />
<asp:Parameter Name="From" Type="String" />
<asp:Parameter Name="Dep" Type="String" />
IT DEPARTMENT, SRMGPC, Lucknow Page 93
Page 94
RAILWAY INTELLIGENCE SYSTEM
<asp:Parameter Name="To" Type="String" />
<asp:Parameter Name="Arr" Type="String" />
<asp:Parameter Name="TravelTime" Type="String" />
<asp:Parameter Name="DepDays" Type="String" />
<asp:Parameter Name="Classes" Type="String" />
<asp:Parameter Name="Distance" Type="String" />
<asp:Parameter Name="AvgDelay" Type="String" />
</InsertParameters>
</asp:SqlDataSource>
<asp:Literal ID="Literal2" runat="server"></asp:Literal>
</td>
<td style="width: 52px">
<asp:Literal ID="Literal1" runat="server"></asp:Literal></td>
<td style="width: 61px">
</td>
</tr>
</table>
</p>
<p>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AutoGenerateColumns="False" CellPadding="4" DataKeyNames="Trainno" DataSourceID="SqlDataSource1"
ForeColor="#333333" GridLines="None" Width="736px" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" CellSpacing="2">
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<Columns>
<asp:CommandField ShowSelectButton="True" />
<asp:BoundField DataField="Trainno" HeaderText="Trainno" ReadOnly="True" SortExpression="Trainno" />
IT DEPARTMENT, SRMGPC, Lucknow Page 94
Page 95
RAILWAY INTELLIGENCE SYSTEM
<asp:BoundField DataField="Trainname" HeaderText="Trainname" SortExpression="Trainname" />
<asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" />
<asp:BoundField DataField="From" HeaderText="From" SortExpression="From" />
<asp:BoundField DataField="Dep" HeaderText="Dep" SortExpression="Dep" />
<asp:BoundField DataField="To" HeaderText="To" SortExpression="To" />
<asp:BoundField DataField="Arr" HeaderText="Arr" SortExpression="Arr" />
<asp:BoundField DataField="TravelTime" HeaderText="TravelTime" SortExpression="TravelTime" />
<asp:BoundField DataField="DepDays" HeaderText="DepDays" SortExpression="DepDays" />
<asp:BoundField DataField="Classes" HeaderText="Classes" SortExpression="Classes" />
<asp:BoundField DataField="Distance" HeaderText="Distance" SortExpression="Distance" />
<asp:BoundField DataField="AvgDelay" HeaderText="AvgDelay" SortExpression="AvgDelay" />
</Columns>
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
IT DEPARTMENT, SRMGPC, Lucknow Page 95
Page 96
RAILWAY INTELLIGENCE SYSTEM
</p>
<p>
</p>
</asp:Content>
Train.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.SqlClient;
public partial class Minimumroute : System.Web.UI.Page
{
SqlDataAdapter sda = new SqlDataAdapter();
SqlConnection con = new SqlConnection();
protected void Page_Load(object sender, EventArgs e)
{
con = new SqlConnection("Data Source=.;Initial Catalog=RailwayIntel;Integrated Security=true");
IT DEPARTMENT, SRMGPC, Lucknow Page 96
Page 97
RAILWAY INTELLIGENCE SYSTEM
con.Open();
GridView1.Visible = false;
}
protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
{
string s1 = Session["t1"].ToString();
string s2 = Session["t2"].ToString();
Literal1.Text = GridView1.SelectedIndex.ToString ();
if (s1 == "LKO" && s2 == "GKP")
{
if (Literal1.Text == "0")
Response.Redirect("bhiarsmpkar.htm");
else
if (Literal1.Text == "1")
Response.Redirect("lkointer.htm");
else
if (Literal1.Text == "2")
Response.Redirect("newdeljali.htm");
else
if (Literal1.Text == "3")
Response.Redirect("godam.htm");
}
else
IT DEPARTMENT, SRMGPC, Lucknow Page 97
Page 98
RAILWAY INTELLIGENCE SYSTEM
if (s1 == "LKO" && s2 == "NDLS")
{
if (Literal1.Text == "0")
Response.Redirect("lkonew.htm");
else
if (Literal1.Text == "1")
Response.Redirect("durnew.htm");
else
Response.Redirect("newdeljali.htm");
}
else
if (s1 == "LKO" && s2 == "DLI")
{
if (Literal1.Text == "0")
Response.Redirect("faraka.htm");
else
Response.Redirect("sadbhansa.htm");
}
else
if(s1 == "LKO" && s2 =="LTT")
{
if (Literal1.Text == "0")
Response.Redirect("2533.aspx");
else
if (Literal1.Text == "1")
Response.Redirect("2108.aspx");
IT DEPARTMENT, SRMGPC, Lucknow Page 98
Page 99
RAILWAY INTELLIGENCE SYSTEM
else
if (Literal1.Text == "2")
Response.Redirect("2174.aspx");
else
Response.Redirect("2541.aspx");
}
}
protected void Button1_Click1(object sender, EventArgs e)
{
Session["t1"] = TextBox1.Text.ToString();
Session["t2"] = TextBox2.Text.ToString();
string s1 = Session["t1"].ToString ();
string s2 = Session["t2"].ToString ();
GridView1.Visible = true;
if(s1==s2)
Literal2.Text = "Please select valid Staions";
}
}
Code For 2174.aspx
IT DEPARTMENT, SRMGPC, Lucknow Page 99
Page 100
RAILWAY INTELLIGENCE SYSTEM
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="2174.aspx.cs" Inherits="_2174" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 614px; height: 152px">
<tr>
<td style="width: 100px">
<asp:Image ID="Image1" runat="server" ImageUrl="~/IMAGES/udyog.bmp" /></td>
<td style="width: 100px">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
CellPadding="3" DataSourceID="SqlDataSource1">
<RowStyle ForeColor="#000066" />
<Columns>
<asp:BoundField DataField="station" HeaderText="station" SortExpression="station" />
<asp:BoundField DataField="date" HeaderText="date" SortExpression="date" />
<asp:BoundField DataField="delay" HeaderText="delay" SortExpression="delay" />
<asp:BoundField DataField="arr" HeaderText="arr" SortExpression="arr" />
<asp:BoundField DataField="dep" HeaderText="dep" SortExpression="dep" />
</Columns>
<FooterStyle BackColor="White" ForeColor="#000066" />
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
</asp:GridView>
</td>
<td style="width: 100px">
IT DEPARTMENT, SRMGPC, Lucknow Page 100
Page 101
RAILWAY INTELLIGENCE SYSTEM
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RailwayIntelConnectionString4 %>"
SelectCommand="SELECT [station], [date], [delay], [arr], [dep] FROM [stoppage] WHERE ([Trainno] = @Trainno)" OnSelecting="SqlDataSource1_Selecting">
<SelectParameters>
<asp:Parameter DefaultValue="2174" Name="Trainno" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
</tr>
</table>
</asp:Content>
IT DEPARTMENT, SRMGPC, Lucknow Page 101
Page 102
RAILWAY INTELLIGENCE SYSTEM
Code For 2533
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="2533.aspx.cs" Inherits="_2533" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 657px; height: 150px">
<tr>
<td style="width: 100px">
<asp:Image ID="Image1" runat="server" ImageUrl="~/IMAGES/puspak.bmp" /></td>
<td style="width: 100px">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
CellPadding="4" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None">
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<Columns>
<asp:BoundField DataField="station" HeaderText="station" SortExpression="station" />
<asp:BoundField DataField="date" HeaderText="date" SortExpression="date" />
<asp:BoundField DataField="delay" HeaderText="delay" SortExpression="delay" />
<asp:BoundField DataField="arr" HeaderText="arr" SortExpression="arr" />
<asp:BoundField DataField="dep" HeaderText="dep" SortExpression="dep" />
</Columns>
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#999999" />
IT DEPARTMENT, SRMGPC, Lucknow Page 102
Page 103
RAILWAY INTELLIGENCE SYSTEM
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
</td>
<td style="width: 100px">
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RailwayIntelConnectionString3 %>"
SelectCommand="SELECT [station], [date], [delay], [arr], [dep] FROM [stoppage] WHERE ([Trainno] = @Trainno)">
<SelectParameters>
<asp:Parameter DefaultValue="2533" Name="Trainno" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
IT DEPARTMENT, SRMGPC, Lucknow Page 103
Page 104
RAILWAY INTELLIGENCE SYSTEM
</tr>
</table>
</asp:Content>
Code For 2108
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="2108.aspx.cs" Inherits="_2108" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="z-index: 101; left: 100px; width: 100px; position: absolute; top: 100px;
height: 100px">
</div>
<table style="width: 737px; height: 191px">
<tr>
<td style="width: 63px">
<asp:Image ID="Image1" runat="server" ImageUrl="~/IMAGES/lkoltt.bmp" /></td>
<td style="width: 100px">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" DataSourceID="SqlDataSource1">
<RowStyle BackColor="White" ForeColor="#003399" />
<Columns>
<asp:BoundField DataField="station" HeaderText="station" SortExpression="station" />
<asp:BoundField DataField="date" HeaderText="date" SortExpression="date" />
<asp:BoundField DataField="delay" HeaderText="delay" SortExpression="delay" />
<asp:BoundField DataField="arr" HeaderText="arr" SortExpression="arr" />
<asp:BoundField DataField="dep" HeaderText="dep" SortExpression="dep" />
IT DEPARTMENT, SRMGPC, Lucknow Page 104
Page 105
RAILWAY INTELLIGENCE SYSTEM
</Columns>
<FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
<PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
<SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
<HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
</asp:GridView>
</td>
<td style="width: 100px">
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RailwayIntelConnectionString5 %>" SelectCommand="SELECT [station], [date], [delay], [arr], [dep] FROM [stoppage] WHERE ([Trainno] = @Trainno)" OnSelecting="SqlDataSource1_Selecting">
<SelectParameters>
<asp:Parameter DefaultValue="2108" Name="Trainno" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 63px">
</td>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
</tr>
<tr>
<td style="width: 63px">
</td>
IT DEPARTMENT, SRMGPC, Lucknow Page 105
Page 106
RAILWAY INTELLIGENCE SYSTEM
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
</tr>
</table>
</asp:Content>
Code For Faraka.aspx
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><style type="text/css">@media print { .gmnoprint { display:none }}@media screen { .gmnoscreen { display:none }}</style><title>Dibrugarh
Rajdhani Express/2435⇒12435 Train Route Map Lucknow/LKO to New
Delhi/NDLS - India Rail Info - Database of Indian Railways Trains &
Stations</title><meta name="description" content="India Rail Info - Dibrugarh Rajdhani Express/2435⇒12435 Train Route Map Departs @ 06:10 Arrives @ 06:00 Journey Time:7h 35m 2 halts halts Time Tables, Google Maps Routes, Fares, PNR Inquiry, Seat/Berth Availability, Current Train Positions, Arrival/Departure/Running Status, Tickets, Fares & PNR - Database of Indian Railways Trains & Stations"><meta name="keywords" content="reservation, pnr, fare, time table, railway, india, indian, indian rail, rail, indian railways, travel, tourism, tourist, tickets, ticket, lookup, schedule, schedules, running status, status, accommodation, seat, seats, booking, book, railways, train, timetable, arrival, departure, availability, fares"><meta name="verify-v1" content="sUZ6KEMtIthThuPTLKIV4aHGEhBxn56RaSa3gslwZuA="><meta property="og:title" content="Dibrugarh Rajdhani Express/2435⇒12435 Train Route Map Lucknow/LKO to New Delhi/NDLS - India Rail Info - Database of Indian Railways Trains & Stations"><meta property="og:type" content="landmark"><meta property="og:url" content="http://indiarailinfo.com/train/map/1338/336/664"><meta property="og:image" content="http://indiarailinfo.com/images/rail-pic.gif"><meta property="og:site_name" content="India Rail Info"><meta property="fb:admins" content="1418437919,253371170693"><meta property="og:description" content="India Rail Info - Dibrugarh Rajdhani Express/2435⇒12435 Train Route Map Departs @ 06:10 Arrives @ 06:00 Journey Time:7h 35m 2 halts halts Time Tables, Google Maps Routes, Fares, PNR Inquiry, Seat/Berth Availability, Current Train Positions, Arrival/Departure/Running Status, Tickets, Fares & PNR - Database of Indian Railways Trains & Stations"><link rel="shortcut icon" href="http://indiarailinfo.com/favicon.ico"><link
IT DEPARTMENT, SRMGPC, Lucknow Page 106
Page 107
RAILWAY INTELLIGENCE SYSTEM
rel="stylesheet" href="durnew_files/abcd-def.css"><script src="durnew_files/jquery.js" language="javascript" type="text/javascript"></script><script type="text/javascript" src="durnew_files/js"></script><script src="durnew_files/maingeometry.js" type="text/javascript"></script><script type="text/javascript" src="durnew_files/jsapi"></script><script type="text/javascript">google.load('friendconnect', '0.8');</script><script src="durnew_files/friendconnect.js" type="text/javascript"></script><script src="durnew_files/abcd.js" language="javascript" type="text/javascript"></script><style type="text/css">.fb_hidden{position:absolute;top:-10000px;z-index:10001}
.fb_reset{background:none;border-spacing:0;border:0;color:#000;cursor:auto;direction:ltr;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}
.fb_link img{border:none}
.fb_dialog{position:absolute;top:-10000px;z-index:10001}
.fb_dialog_advanced{background:rgba(82, 82, 82, .7);padding:10px;-moz-border-radius:8px;-webkit-border-radius:8px}
.fb_dialog_content{background:#fff;color:#333}
.fb_dialog_close_icon{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zL/r/s816eWC-2sl.gif);cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px;top:8px\9;right:7px\9}
.fb_dialog_close_icon:hover{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zL/r/s816eWC-2sl.gif)}
.fb_dialog_close_icon:active{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zL/r/s816eWC-2sl.gif)}
.fb_dialog_loader{background-color:#f2f2f2;border:1px solid #606060;font-size:24px;padding:20px}
.fb_dialog_top_left,
.fb_dialog_top_right,
.fb_dialog_bottom_left,
.fb_dialog_bottom_right{height:10px;width:10px;overflow:hidden;position:absolute}
.fb_dialog_top_left{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/ze/r/8YeTNIlTZjm.png) no-repeat 0 0;left:-10px;top:-10px}
IT DEPARTMENT, SRMGPC, Lucknow Page 107
Page 108
RAILWAY INTELLIGENCE SYSTEM
.fb_dialog_top_right{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/ze/r/8YeTNIlTZjm.png) no-repeat 0 -10px;right:-10px;top:-10px}
.fb_dialog_bottom_left{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/ze/r/8YeTNIlTZjm.png) no-repeat 0 -20px;bottom:-10px;left:-10px}
.fb_dialog_bottom_right{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/ze/r/8YeTNIlTZjm.png) no-repeat 0 -30px;right:-10px;bottom:-10px}
.fb_dialog_vert_left,
.fb_dialog_vert_right,
.fb_dialog_horiz_top,
.fb_dialog_horiz_bottom{position:absolute;background:#525252;filter:alpha(opacity=70);opacity:.7}
.fb_dialog_vert_left,
.fb_dialog_vert_right{width:10px;height:100%}
.fb_dialog_vert_left{margin-left:-10px}
.fb_dialog_vert_right{right:0;margin-right:-10px}
.fb_dialog_horiz_top,
.fb_dialog_horiz_bottom{width:100%;height:10px}
.fb_dialog_horiz_top{margin-top:-10px}
.fb_dialog_horiz_bottom{bottom:0;margin-bottom:-10px}
.fb_dialog_iframe{line-height:0}
.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #3b5998;color:#fff;font-size:14px;font-weight:bold;margin:0}
.fb_dialog_content .dialog_title > span{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zd/r/Cou7n-nqK52.gif) no-repeat 5px 50%;float:left;padding:5px 0 7px 26px}
.fb_dialog_content .dialog_content{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/z9/r/jKEcVPZFk-2.gif) no-repeat 50% 50%;border:1px solid #555;border-bottom:0;border-top:0;height:150px}
.fb_dialog_content .dialog_footer{background:#f2f2f2;border:1px solid #555;border-top-color:#ccc;height:40px}
#fb_dialog_loader_close{float:right}
.fb_iframe_widget{position:relative;display:-moz-inline-block;display:inline-block}
.fb_iframe_widget iframe{position:relative;vertical-align:text-bottom}
.fb_iframe_widget span{position:relative}
IT DEPARTMENT, SRMGPC, Lucknow Page 108
Page 109
RAILWAY INTELLIGENCE SYSTEM
.fb_hide_iframes iframe{position:relative;left:-10000px}
.fb_iframe_widget_loader{position:relative;display:inline-block}
.fb_iframe_widget_loader iframe{min-height:32px;z-index:2;zoom:1}
.fb_iframe_widget_loader .FB_Loader{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/z9/r/jKEcVPZFk-2.gif) no-repeat;height:32px;width:32px;margin-left:-16px;position:absolute;left:50%;z-index:4}
.fb_button_simple,
.fb_button_simple_rtl{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zH/r/eIpbnVKI9lR.png);background-repeat:no-repeat;cursor:pointer;outline:none;text-decoration:none}
.fb_button_simple_rtl{background-position:right 0}
.fb_button_simple .fb_button_text{margin:0 0 0 20px;padding-bottom:1px}
.fb_button_simple_rtl .fb_button_text{margin:0 10px 0 0}
a.fb_button_simple:hover .fb_button_text,
a.fb_button_simple_rtl:hover .fb_button_text,
.fb_button_simple:hover .fb_button_text,
.fb_button_simple_rtl:hover .fb_button_text{text-decoration:underline}
.fb_button,
.fb_button_rtl{background:#29447e url(http://static.ak.fbcdn.net/rsrc.php/v1/zL/r/FGFbc80dUKj.png);background-repeat:no-repeat;cursor:pointer;display:inline-block;padding:0 0 0 1px;text-decoration:none;outline:none}
.fb_button .fb_button_text,
.fb_button_rtl .fb_button_text{background:#5f78ab url(http://static.ak.fbcdn.net/rsrc.php/v1/zL/r/FGFbc80dUKj.png);border-top:solid 1px #879ac0;border-bottom:solid 1px #1a356e;color:#fff;display:block;font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-weight:bold;padding:2px 6px 3px 6px;margin:1px 1px 0 21px;text-shadow:none}
a.fb_button,
a.fb_button_rtl,
.fb_button,
.fb_button_rtl{text-decoration:none}
a.fb_button:active .fb_button_text,
a.fb_button_rtl:active .fb_button_text,
IT DEPARTMENT, SRMGPC, Lucknow Page 109
Page 110
RAILWAY INTELLIGENCE SYSTEM
.fb_button:active .fb_button_text,
.fb_button_rtl:active .fb_button_text{border-bottom:solid 1px #29447e;border-top:solid 1px #45619d;background:#4f6aa3;text-shadow:none}
.fb_button_xlarge,
.fb_button_xlarge_rtl{background-position:left -60px;font-size:24px;line-height:30px}
.fb_button_xlarge .fb_button_text{padding:3px 8px 3px 12px;margin-left:38px}
a.fb_button_xlarge:active{background-position:left -99px}
.fb_button_xlarge_rtl{background-position:right -268px}
.fb_button_xlarge_rtl .fb_button_text{padding:3px 8px 3px 12px;margin-right:39px}
a.fb_button_xlarge_rtl:active{background-position:right -307px}
.fb_button_large,
.fb_button_large_rtl{background-position:left -138px;font-size:13px;line-height:16px}
.fb_button_large .fb_button_text{margin-left:24px;padding:2px 6px 4px 6px}
a.fb_button_large:active{background-position:left -163px}
.fb_button_large_rtl{background-position:right -346px}
.fb_button_large_rtl .fb_button_text{margin-right:25px}
a.fb_button_large_rtl:active{background-position:right -371px}
.fb_button_medium,
.fb_button_medium_rtl{background-position:left -188px;font-size:11px;line-height:14px}
a.fb_button_medium:active{background-position:left -210px}
.fb_button_medium_rtl{background-position:right -396px}
.fb_button_text_rtl,
.fb_button_medium_rtl .fb_button_text{padding:2px 6px 3px 6px;margin-right:22px}
a.fb_button_medium_rtl:active{background-position:right -418px}
.fb_button_small,
.fb_button_small_rtl{background-position:left -232px;font-size:10px;line-height:10px}
.fb_button_small .fb_button_text{padding:2px 6px 3px;margin-left:17px}
a.fb_button_small:active,
IT DEPARTMENT, SRMGPC, Lucknow Page 110
Page 111
RAILWAY INTELLIGENCE SYSTEM
.fb_button_small:active{background-position:left -250px}
.fb_button_small_rtl{background-position:right -440px}
.fb_button_small_rtl .fb_button_text{padding:2px 6px;margin-right:18px}
a.fb_button_small_rtl:active{background-position:right -458px}
.fb_share_count_wrapper{position:relative;float:left}
.fb_share_count{background:#b0b9ec none repeat scroll 0 0;color:#333;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;text-align:center}
.fb_share_count_inner{background:#e8ebf2;display:block}
.fb_share_count_right{margin-left:-1px;display:inline-block}
.fb_share_count_right .fb_share_count_inner{border-top:solid 1px #e8ebf2;border-bottom:solid 1px #b0b9ec;margin:1px 1px 0 1px;font-size:10px;line-height:10px;padding:2px 6px 3px;font-weight:bold}
.fb_share_count_top{display:block;letter-spacing:-1px;line-height:34px;margin-bottom:7px;font-size:22px;border:solid 1px #b0b9ec}
.fb_share_count_nub_top{border:none;display:block;position:absolute;left:7px;top:35px;margin:0;padding:0;width:6px;height:7px;background-repeat:no-repeat;background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zU/r/bSOHtKbCGYI.png)}
.fb_share_count_nub_right{border:none;display:inline-block;padding:0;width:5px;height:10px;background-repeat:no-repeat;background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zX/r/i_oIVTKMYsL.png);vertical-align:top;background-position:right 5px;z-index:10;left:2px;margin:0 2px 0 0;position:relative}
.fb_share_no_count{display:none}
.fb_share_size_Small .fb_share_count_right .fb_share_count_inner{font-size:10px}
.fb_share_size_Medium .fb_share_count_right .fb_share_count_inner{font-size:11px;padding:2px 6px 3px;letter-spacing:-1px;line-height:14px}
.fb_share_size_Large .fb_share_count_right .fb_share_count_inner{font-size:13px;line-height:16px;padding:2px 6px 4px;font-weight:normal;letter-spacing:-1px}
.fb_share_count_hidden .fb_share_count_nub_top,
.fb_share_count_hidden .fb_share_count_top,
.fb_share_count_hidden .fb_share_count_nub_right,
.fb_share_count_hidden .fb_share_count_right{visibility:hidden}
.fb_connect_bar_container div,
.fb_connect_bar_container span,
IT DEPARTMENT, SRMGPC, Lucknow Page 111
Page 112
RAILWAY INTELLIGENCE SYSTEM
.fb_connect_bar_container a,
.fb_connect_bar_container img,
.fb_connect_bar_container strong{background:none;border-spacing:0;border:0;direction:ltr;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal;vertical-align:baseline}
.fb_connect_bar_container{position:fixed;left:0 !important;right:0 !important;height:42px !important;padding:0 25px !important;margin:0 !important;vertical-align:middle !important;border-bottom:1px solid #333 !important;background:#3b5998 !important;z-index:99999999 !important;overflow:hidden !important}
.fb_connect_bar_container_ie6{position:absolute;top:expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollTop+"px":body.scrollTop+"px")}
.fb_connect_bar{position:relative;margin:auto;height:100%;width:100%;padding:6px 0 0 0 !important;background:none;color:#fff !important;font-family:"lucida grande", tahoma, verdana, arial, sans-serif !important;font-size:13px !important;font-style:normal !important;font-variant:normal !important;font-weight:normal !important;letter-spacing:normal !important;line-height:1 !important;text-decoration:none !important;text-indent:0 !important;text-shadow:none !important;text-transform:none !important;white-space:normal !important;word-spacing:normal !important}
.fb_connect_bar a:hover{color:#fff}
.fb_connect_bar .fb_profile img{height:30px;width:30px;vertical-align:middle;margin:0 6px 5px 0}
.fb_connect_bar div a,
.fb_connect_bar span,
.fb_connect_bar span a{color:#bac6da;font-size:11px;text-decoration:none}
.fb_connect_bar .fb_buttons{float:right;margin-top:7px}
.fb_edge_widget_with_comment{position:relative;*z-index:1000}
.fb_edge_widget_with_comment span.fb_edge_comment_widget{position:absolute}
.fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_ltr{left:-4px}
.fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_rtl{left:2px}
.fb_edge_widget_with_comment span.fb_send_button_form_widget{left:0}
.fb_edge_widget_with_comment span.fb_send_button_form_widget .FB_Loader{left:10%}
#fb_social_bar_container{position:fixed;left:0;right:0;height:34px;padding:0 25px;z-index:999999999}
.fb_social_bar_iframe{position:relative;float:right;opacity:0;-moz-opacity:0;filter:alpha(opacity=0)}
IT DEPARTMENT, SRMGPC, Lucknow Page 112
Page 113
RAILWAY INTELLIGENCE SYSTEM
.fb_social_bar_iframe_bottom_ie6{bottom:auto;top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)))}
.fb_social_bar_iframe_top_ie6{bottom:auto;top:expression(eval(document.documentElement.scrollTop-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)))}
</style><script src="durnew_files/a" type="text/javascript"></script><script src="durnew_files/commonmaputilmarkerinfowindowpoly.js" charset="UTF-8" type="text/javascript"></script><script src="durnew_files/onion.js" charset="UTF-8" type="text/javascript"></script><script src="durnew_files/controls.js" charset="UTF-8" type="text/javascript"></script><script src="durnew_files/stats.js" charset="UTF-8" type="text/javascript"></script><script src="durnew_files/defaulten.js" type="text/javascript"></script></head><body><table style="margin: 0pt auto 0pt 1%;" cellpadding="0" cellspacing="0"><tbody><tr><td colspan="5" style="font-family: Arial;"><div style="display: none;" id="PendingChatRequests" class="pendingchatrequests">
</div></td></tr><tr><td></td><td style="text-align: center;" rowspan="2" width="80px"><span style="color:blue"></span></td><td style="width: 154px"></td><td style="width: 14px"> </td><td rowspan="3" style="font-size: 10px; color: rgb(170, 170, 170);" valign="top" width="350px"><a href="http://indiarailinfo.com/"></a></td></tr><tr><td></td><td style="width: 154px"></td></tr><tr><td style="text-align: center; height: 26px;"></td><td style="height: 26px"> </td><td style="text-align: center; width: 154px; height: 26px;"></td></tr><tr><td style="text-align: center;" colspan="3"></td></tr></tbody></table><div id="Div" class="topcapsule"><div style="display:block;text-align:center;"><table style="width: 100%; margin: auto;" cellpadding="0" cellspacing="5"><tbody><tr><td style="text-align: center; height: 25px;" valign="top"><h1 style="text-align:center;vertical-align:middle;">Dibrugarh Rajdhani Express/2435⇒12435 </h1></td></tr></tbody></table></div><table style="width: 100%;" cellpadding="0" cellspacing="0"><tbody><tr><td valign="top" width="50%"><div class="listingcapsulehalf" style="display:block;"><big><b></b></big><input id="FromStationSequence" value="20" type="hidden"><input id="ToStationSequence" value="23" type="hidden"><input name="StationLatLong" value="27.477931,94.900369,1" type="hidden"><input name="StationDescription" value="<h2>Dibrugarh Town/DBRT</h2>RKB Path, Dibrugarh, <b>Assam</b><br />Elevation: <b>109 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><div style='margin:3px;'><div><br />Sch. Departure @ 19:00</div><div><b>Act. Departure @ 19:00</b> n/a on Mon Mar 28</div></div><a href=/departures/680>Get All Departures</a><br /><a href=/arrivals/680>Get All Arrivals</a><br /><a href=/station/map/680>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="27.485944,95.356285,2" type="hidden"><input name="StationDescription" value="<h2>Tinsukia Junction/TSK</h2>A T Rd, Tinsukia, <b>Assam</b><br />Elevation: <b>124 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 19:55</div><div><b>Act. Arrival @ 19:55</b> n/a on Mon Mar 28</div><div>Halt: 10m</div><div><br />Sch. Departure @ 20:05</div><div><b>Act. Departure @ 20:05</b> n/a on Mon Mar 28</div></div><a
IT DEPARTMENT, SRMGPC, Lucknow Page 113
Page 114
RAILWAY INTELLIGENCE SYSTEM
href=/departures/681>Get All Departures</a><br /><a href=/arrivals/681>Get All Arrivals</a><br /><a href=/station/map/681>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="26.654516,94.312048,3" type="hidden"><input name="StationDescription" value="<h2>Mariani Junction/MXN</h2>Mariani, <b>Assam</b><br />Elevation: <b>117 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 22:10</div><div><b>Act. Arrival @ 22:10</b> n/a on Mon Mar 28</div><div>Halt: 10m</div><div><br />Sch. Departure @ 22:20</div><div><b>Act. Departure @ 22:20</b> n/a on Mon Mar 28</div></div><a href=/departures/683>Get All Departures</a><br /><a href=/arrivals/683>Get All Arrivals</a><br /><a href=/station/map/683>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="25.906695046026318,93.72857093811035,4" type="hidden"><input name="StationDescription" value="<h2>Dimapur/DMV</h2>Flyover, Dimapur, <b>Nagaland</b><br />Elevation: <b>154 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 00:20</div><div><b>Act. Arrival @ 00:20</b> n/a on Tue Mar 29</div><div>Halt: 5m</div><div><br />Sch. Departure @ 00:25</div><div><b>Act. Departure @ 00:25</b> n/a on Tue Mar 29</div></div><a href=/departures/685>Get All Departures</a><br /><a href=/arrivals/685>Get All Arrivals</a><br /><a href=/station/map/685>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="25.841148,93.440394,5" type="hidden"><input name="StationDescription" value="<h2>Diphu/DPU</h2>Karbi Anglong, <b>Assam</b><br />Elevation: <b>172 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 01:00</div><div><b>Act. Arrival @ 01:00</b> n/a on Tue Mar 29</div><div>Halt: 2m</div><div><br />Sch. Departure @ 01:02</div><div><b>Act. Departure @ 01:02</b> n/a on Tue Mar 29</div></div><a href=/departures/686>Get All Departures</a><br /><a href=/arrivals/686>Get All Arrivals</a><br /><a href=/station/map/686>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="25.765576,93.134193,6" type="hidden"><input name="StationDescription" value="<h2>Lumding Junction/LMG</h2>District Nagaon, <b>Assam</b><br />Elevation: <b>143 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 01:55</div><div><b>Act. Arrival @ 01:55</b> n/a on Tue Mar 29</div><div>Halt: 2m</div><div><br />Sch. Departure @ 01:57</div><div><b>Act. Departure @ 01:57</b> n/a on Tue Mar 29</div></div><a href=/departures/687>Get All Departures</a><br /><a href=/arrivals/687>Get All Arrivals</a><br /><a href=/station/map/687>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="26.182573,91.74997,7" type="hidden"><input name="StationDescription" value="<h2>Guwahati/GHY</h2>Pan Bazaar, Guwahati, <b>Assam</b><br />Elevation: <b>58 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><table style='font-size:11px;' width=100% cellspacing=2><tr><td width=5% align=right><img src=/images/haze.gif /></td><td align=left><b>Haze</b><br />Temperature: <b>20℃</b><br />Humidity:
IT DEPARTMENT, SRMGPC, Lucknow Page 114
Page 115
RAILWAY INTELLIGENCE SYSTEM
<b>78%</b></td></tr></table><div style='margin:3px;'><div><br />Sch. Arrival @ 05:05</div><div><b>Act. Arrival @ 05:05</b> n/a on Tue Mar 29</div><div>Halt: 50m</div><div><br />Sch. Departure @ 05:55</div><div><b>Act. Departure @ 05:55</b> n/a on Tue Mar 29</div></div><a href=/departures/546>Get All Departures</a><br /><a href=/arrivals/546>Get All Arrivals</a><br /><a href=/station/map/546>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="26.470419,90.51567,8" type="hidden"><input name="StationDescription" value="<h2>New Bongaigaon/NBQ</h2>Bongaigaon, <b>Assam</b><br />Elevation: <b>63 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 08:11</div><div><b>Act. Arrival @ 08:11</b> n/a on Tue Mar 29</div><div>Halt: 2m</div><div><br />Sch. Departure @ 08:13</div><div><b>Act. Departure @ 08:13</b> n/a on Tue Mar 29</div></div><a href=/departures/549>Get All Departures</a><br /><a href=/arrivals/549>Get All Arrivals</a><br /><a href=/station/map/549>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="26.406169,90.269165,9" type="hidden"><input name="StationDescription" value="<h2>Kokrajhar/KOJ</h2>Kokrajhar, <b>Assam</b><br />Elevation: <b>46 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 08:37</div><div><b>Act. Arrival @ 08:37</b> n/a on Tue Mar 29</div><div>Halt: 1m</div><div><br />Sch. Departure @ 08:38</div><div><b>Act. Departure @ 08:38</b> n/a on Tue Mar 29</div></div><a href=/departures/1375>Get All Departures</a><br /><a href=/arrivals/1375>Get All Arrivals</a><br /><a href=/station/map/1375>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="26.486169,89.540291,10" type="hidden"><input name="StationDescription" value="<h2>New Alipurduar/NOQ</h2>Alipurduar, <b>West Bengal</b><br />Elevation: <b>48 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 09:34</div><div><b>Act. Arrival @ 09:34</b> n/a on Tue Mar 29</div><div>Halt: 2m</div><div><br />Sch. Departure @ 09:36</div><div><b>Act. Departure @ 09:36</b> n/a on Tue Mar 29</div></div><a href=/departures/550>Get All Departures</a><br /><a href=/arrivals/550>Get All Arrivals</a><br /><a href=/station/map/550>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="26.353027,89.469513,11" type="hidden"><input name="StationDescription" value="<h2>New Cooch Behar/NCB</h2>Cooch Behar, <b>West Bengal</b><br />Elevation: <b>50 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 10:03</div><div><b>Act. Arrival @ 10:03</b> n/a on Tue Mar 29</div><div>Halt: 2m</div><div><br />Sch. Departure @ 10:05</div><div><b>Act. Departure @ 10:05</b> n/a on Tue Mar 29</div></div><a href=/departures/551>Get All Departures</a><br /><a href=/arrivals/551>Get All Arrivals</a><br /><a href=/station/map/551>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="26.682885,88.443278,12" type="hidden"><input name="StationDescription" value="<h2>New Jalpaiguri/NJP</h2>Siligurí, <b>West
IT DEPARTMENT, SRMGPC, Lucknow Page 115
Page 116
RAILWAY INTELLIGENCE SYSTEM
Bengal</b><br />Elevation: <b>113 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 11:55</div><div><b>Act. Arrival @ 11:55</b> n/a on Tue Mar 29</div><div>Halt: 10m</div><div><br />Sch. Departure @ 12:05</div><div><b>Act. Departure @ 12:05</b> n/a on Tue Mar 29</div></div><a href=/departures/444>Get All Departures</a><br /><a href=/arrivals/444>Get All Arrivals</a><br /><a href=/station/map/444>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="26.101381,87.956092,13" type="hidden"><input name="StationDescription" value="<h2>KishanGanj/KNE</h2>NH 31, Kishanganj, <b>Bihar</b><br />Elevation: <b>53 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><table style='font-size:11px;' width=100% cellspacing=2><tr><td width=5% align=right><img src=/images/haze.gif /></td><td align=left><b>Haze</b><br />Temperature: <b>19℃</b><br />Humidity: <b>76%</b></td></tr></table><div style='margin:3px;'><div><br />Sch. Arrival @ 13:11</div><div><b>Act. Arrival @ 13:11</b> n/a on Tue Mar 29</div><div>Halt: 2m</div><div><br />Sch. Departure @ 13:13</div><div><b>Act. Departure @ 13:13</b> n/a on Tue Mar 29</div></div><a href=/departures/443>Get All Departures</a><br /><a href=/arrivals/443>Get All Arrivals</a><br /><a href=/station/map/443>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="25.548985,87.565455,14" type="hidden"><input name="StationDescription" value="<h2>Katihar Junction/KIR</h2>Katihar, <b>Bihar</b><br />Elevation: <b>35 m</b><br />Railway Zone: <b>Northeast Frontier - NFR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 15:15</div><div><b>Act. Arrival @ 15:15</b> n/a on Tue Mar 29</div><div>Halt: 50m</div><div><br />Sch. Departure @ 16:05</div><div><b>Act. Departure @ 16:05</b> n/a on Tue Mar 29</div></div><a href=/departures/553>Get All Departures</a><br /><a href=/arrivals/553>Get All Arrivals</a><br /><a href=/station/map/553>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="25.46265,85.985355,15" type="hidden"><input name="StationDescription" value="<h2>Barauni Junction/BJU</h2>Barauni,Begusrai, <b>Bihar</b><br />Elevation: <b>48 m</b><br />Railway Zone: <b>East Central - ECR</b><br /><table style='font-size:11px;' width=100% cellspacing=2><tr><td width=5% align=right><img src=/images/haze.gif /></td><td align=left><b>Haze</b><br />Temperature: <b>23℃</b><br />Humidity: <b>69%</b></td></tr></table><div style='margin:3px;'><div><br />Sch. Arrival @ 18:40</div><div><b>Act. Arrival @ 18:40</b> n/a on Tue Mar 29</div><div>Halt: 20m</div><div><br />Sch. Departure @ 19:00</div><div><b>Act. Departure @ 19:00</b> n/a on Tue Mar 29</div></div><a href=/departures/558>Get All Departures</a><br /><a href=/arrivals/558>Get All Arrivals</a><br /><a href=/station/map/558>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="25.708053,85.213394,16" type="hidden"><input name="StationDescription" value="<h2>Hajipur Junction/HJP</h2>Zonal HQ EC Railway,NH 19/77, Hajipur(Vaishali), <b>Bihar</b><br />Elevation: <b>55
IT DEPARTMENT, SRMGPC, Lucknow Page 116
Page 117
RAILWAY INTELLIGENCE SYSTEM
m</b><br />Railway Zone: <b>East Central - ECR</b><br /><table style='font-size:11px;' width=100% cellspacing=2><tr><td width=5% align=right><img src=/images/haze.gif /></td><td align=left><b>Haze</b><br />Temperature: <b>23℃</b><br />Humidity: <b>69%</b></td></tr></table><div style='margin:3px;'><div><br />Sch. Arrival @ 20:35</div><div><b>Act. Arrival @ 20:35</b> n/a on Tue Mar 29</div><div>Halt: 1m</div><div><br />Sch. Departure @ 20:36</div><div><b>Act. Departure @ 20:36</b> n/a on Tue Mar 29</div></div><a href=/departures/700>Get All Departures</a><br /><a href=/arrivals/700>Get All Arrivals</a><br /><a href=/station/map/700>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="25.787333,84.725317,17" type="hidden"><input name="StationDescription" value="<h2>Chhapra Junction/CPR</h2>Chhapra, Saran District, <b>Bihar</b><br />Elevation: <b>56 m</b><br />Railway Zone: <b>North Eastern - NER</b><br /><table style='font-size:11px;' width=100% cellspacing=2><tr><td width=5% align=right><img src=/images/haze.gif /></td><td align=left><b>Haze</b><br />Temperature: <b>23℃</b><br />Humidity: <b>69%</b></td></tr></table><div style='margin:3px;'><div><br />Sch. Arrival @ 21:50</div><div><b>Act. Arrival @ 21:50</b> n/a on Tue Mar 29</div><div>Halt: 5m</div><div><br />Sch. Departure @ 21:55</div><div><b>Act. Departure @ 21:55</b> n/a on Tue Mar 29</div></div><a href=/departures/691>Get All Departures</a><br /><a href=/arrivals/691>Get All Arrivals</a><br /><a href=/station/map/691>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="25.759585,84.149351,18" type="hidden"><input name="StationDescription" value="<h2>Ballia/BUI</h2>NH 19, Ballia, <b>Uttar Pradesh</b><br />Elevation: <b>62 m</b><br />Railway Zone: <b>North Eastern - NER</b><br /><table style='font-size:11px;' width=100% cellspacing=2><tr><td width=5% align=right><img src=/images/haze.gif /></td><td align=left><b>Haze</b><br />Temperature: <b>23℃</b><br />Humidity: <b>69%</b></td></tr></table><div style='margin:3px;'><div><br />Sch. Arrival @ 22:55</div><div><b>Act. Arrival @ 22:55</b> n/a on Tue Mar 29</div><div>Halt: 5m</div><div><br />Sch. Departure @ 23:00</div><div><b>Act. Departure @ 23:00</b> n/a on Tue Mar 29</div></div><a href=/departures/692>Get All Departures</a><br /><a href=/arrivals/692>Get All Arrivals</a><br /><a href=/station/map/692>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="25.326484,82.985809,19" type="hidden"><input name="StationDescription" value="<h2>Varanasi Junction/BSB</h2>Junction Point - MGS/ALD/ZBD/BOY/ARJ, NH 2, Chaitganj, Varanasi, <b>Uttar Pradesh</b><br />Elevation: <b>83 m</b><br />Railway Zone: <b>Northern - NR</b><br /><table style='font-size:11px;' width=100% cellspacing=2><tr><td width=5% align=right><img src=/images/rain.gif /></td><td align=left><b>Rain</b><br />Temperature: <b>20℃</b><br />Humidity: <b>78%</b></td></tr></table><div style='margin:3px;'><div><br />Sch. Arrival @ 01:30</div><div><b>Act. Arrival @ 01:30</b> n/a on Wed Mar 30</div><div>Halt:
IT DEPARTMENT, SRMGPC, Lucknow Page 117
Page 118
RAILWAY INTELLIGENCE SYSTEM
10m</div><div><br />Sch. Departure @ 01:40</div><div><b>Act. Departure @ 01:40</b> n/a on Wed Mar 30</div></div><a href=/departures/334>Get All Departures</a><br /><a href=/arrivals/334>Get All Arrivals</a><br /><a href=/station/map/334>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="26.831117,80.924349,20" type="hidden"><input name="StationDescription" value="<h2>Lucknow/LKO</h2>Charbagh, <b>Uttar Pradesh</b><br />Elevation: <b>124 m</b><br />Railway Zone: <b>Northern - NR</b><br /><table style='font-size:11px;' width=100% cellspacing=2><tr><td width=5% align=right><img src=/images/haze.gif /></td><td align=left><b>Haze</b><br />Temperature: <b>20℃</b><br />Humidity: <b>83%</b></td></tr></table><div style='margin:3px;'><div><br />Sch. Arrival @ 06:00</div><div><b>Act. Arrival @ 06:00</b> n/a on Wed Mar 30</div><div>Halt: 10m</div><div><br />Sch. Departure @ 06:10</div><div><b>Act. Departure @ 06:10</b> n/a on Wed Mar 30</div></div><a href=/departures/336>Get All Departures</a><br /><a href=/arrivals/336>Get All Arrivals</a><br /><a href=/station/map/336>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="28.336945,79.411153,21" type="hidden"><input name="StationDescription" value="<h2>Bareilly/BE</h2>Junction Point - SPN/RMU/CH/BPR-LKU-PBE-TPU/KSJ, Bareilly, <b>Uttar Pradesh</b><br />Elevation: <b>173 m</b><br />Railway Zone: <b>Northern - NR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 09:15</div><div><b>Act. Arrival @ 09:15</b> n/a on Wed Mar 30</div><div>Halt: 2m</div><div><br />Sch. Departure @ 09:17</div><div><b>Act. Departure @ 09:17</b> n/a on Wed Mar 30</div></div><a href=/departures/337>Get All Departures</a><br /><a href=/arrivals/337>Get All Arrivals</a><br /><a href=/station/map/337>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="28.832719,78.765707,22" type="hidden"><input name="StationDescription" value="<h2>Moradabad/MB</h2>Junction Point - SRE/NDLS/RMR/KGM/BE, NH 24, Moradabad, <b>Uttar Pradesh</b><br />Elevation: <b>201 m</b><br />Railway Zone: <b>Northern - NR</b><br /><div style='margin:3px;'><div><br />Sch. Arrival @ 10:55</div><div><b>Act. Arrival @ 10:55</b> n/a on Wed Mar 30</div><div>Halt: 5m</div><div><br />Sch. Departure @ 11:00</div><div><b>Act. Departure @ 11:00</b> n/a on Wed Mar 30</div></div><a href=/departures/338>Get All Departures</a><br /><a href=/arrivals/338>Get All Arrivals</a><br /><a href=/station/map/338>Show Satellite View</a>" type="hidden"><input name="StationLatLong" value="28.641937,77.220883,23" type="hidden"><input name="StationDescription" value="<h2>New Delhi/NDLS</h2>Ajmeri Gate / Paharganj, New Delhi, <b>Delhi NCT</b><br />Elevation: <b>215 m</b><br />Railway Zone: <b>Northern - NR</b><br /><table style='font-size:11px;' width=100% cellspacing=2><tr><td width=5% align=right><img src=/images/cloudy.gif /></td><td align=left><b>Cloudy</b><br />Temperature: <b>23℃</b><br />Humidity: <b>78%</b></td></tr></table><div style='margin:3px;'><div><br />Sch. Arrival @ 13:45</div><div><b>Act. Arrival @ 13:45</b> n/a on Wed Mar 30</div></div><a href=/departures/664>Get
IT DEPARTMENT, SRMGPC, Lucknow Page 118
Page 119
RAILWAY INTELLIGENCE SYSTEM
All Departures</a><br /><a href=/arrivals/664>Get All Arrivals</a><br /><a href=/station/map/664>Show Satellite View</a>" type="hidden"><input name="TrainLatLong" value="26.446168999999998,89.904728" type="hidden"><input name="TrainDescription" value="<div>Train is in <b>West Bengal</b><br />Railway Zone: <b>Northeast Frontier - NFR</b></div><br /><div><b>Departure from Kokrajhar/KOJ @ 08:38 n/a on Tue Mar 29</b></div><br /><div><b>Arrival at New Alipurduar/NOQ @ 09:34 n/a on Tue Mar 29</b></div>" type="hidden"><input id="StationLatLongEncodedPoints" value="axufDgffbQaq@o`xAlkaDn}jEz`qCt}pBtxKbhw@hwMvxz@gmpAjjmG_fw@japFppKtco@_sNljmCb_YjyLsl_A~lgEjqpBzc~An{jBnhkApzOrrsHw|n@vwuConNni~AllDvnoBzqsAdgbF}zdHbsqKmbeHlpfHqy_B`a}Bjgd@bvlH" type="hidden"><div id="map_canvas" style="width: 100%; height: 700px; position: relative; background-color: rgb(229, 227, 223); overflow: hidden;"><div style="position: absolute; left: 0px; top: 0px; overflow: hidden; width: 100%; height: 100%; z-index: 0;"><div style="position: absolute; left: 0px; top: 0px; overflow: hidden; width: 100%; height: 100%;"><div style="position: absolute; left: 0px; top: 0px; z-index: 1; cursor: url("http://maps.gstatic.com/intl/en_us/mapfiles/openhand_8_8.cur"), default; -moz-transform: translate(-27px, 0px) scale(1);"><div style="z-index: 100; position: absolute; left: 0px; top: 0px;"><div style="position: absolute; left: 0px; top: 0px; z-index: 0;"><div style="position: absolute; left: 0px; top: 0px; z-index: 1;"><div style="width: 256px; height: 256px; position: absolute; left: 20px; top: 171px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 20px; top: 427px;"></div><div style="width: 256px; height: 256px; position: absolute; left: -236px; top: 171px;"></div><div style="width: 256px; height: 256px; position: absolute; left: -236px; top: 427px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 276px; top: 171px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 276px; top: 427px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 274px; top: 8px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 20px; top: 683px;"></div><div style="width: 256px; height: 256px; position: absolute; left: -236px; top: -85px;"></div><div style="width: 256px; height: 256px; position: absolute; left: -236px; top: 683px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 603px; top: 118px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 276px; top: 683px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 532px; top: 171px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 532px; top: 427px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 684px; top: 217px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 532px; top: 683px;"></div></div></div></div><div style="z-index: 101; position: absolute; left: 0px; top: 0px;"><div style="position: absolute; left: 0px; top: 0px; z-index: 1;"><div style="position: absolute; left: 0px; top: 0px; z-index: 1;"><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 20px; top: 171px;"><svg viewBox="0 0 256 256" height="256px" width="256px" overflow="hidden" version="1.1" style="position: absolute; left: 0px; top: 0px;"><path stroke-width="3" stroke-opacity="1" stroke="#0000FF" fill="none" style="z-index: 0;" d="M 266 200.6 L 261.9 199.5 L 259.1 200.3 L 250.8 199.3 L 250 201 L 238.3 196.8 L 232.7 204.2 L 228.3 211.2 L 210.3 212.3 L 201.5 209.2 L 196 208.2 L 189.4 208.5 L 176.2 214 L 152.7 194.9 L 135.5 175.6 L 128.2 169.2 L 110.6 171.6" stroke-linecap="round" stroke-linejoin="round"></path></svg></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 20px; top: 427px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: -236px; top: 171px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: -236px; top: 427px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 276px; top: 171px;"><svg viewBox="0 0 256 256" height="256px" width="256px" overflow="hidden" version="1.1" style="position: absolute; left:
IT DEPARTMENT, SRMGPC, Lucknow Page 119
Page 120
RAILWAY INTELLIGENCE SYSTEM
0px; top: 0px;"><path stroke-width="3" stroke-opacity="1" stroke="#0000FF" fill="none" style="z-index: 0;" d="M 55.8 186.6 L 60.9 186.5 L 49.1 197.2 L 42.4 206.6 L 39.1 207.5 L 35.7 208.4 L 19.9 203.2 L 5.9 199.5 L 3.1 200.3 L -5.2 199.3 L -6 201 L -10 199.6" stroke-linecap="round" stroke-linejoin="round"></path></svg></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 276px; top: 427px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 268px; top: 8px;"><img src="durnew_files/vt_003.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 20px; top: 683px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: -236px; top: -85px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: -236px; top: 683px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 677px; top: 125px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 276px; top: 683px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 532px; top: 171px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 532px; top: 427px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 647px; top: 115px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 532px; top: 683px;"></div></div></div></div><div style="z-index: 102; position: absolute; left: 0px; top: 0px;"><div style="position: absolute; left: 0px; top: 0px; z-index: 1;"><div style="position: absolute; left: 0px; top: 0px; z-index: 1;"><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 20px; top: 171px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 20px; top: 427px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: -236px; top: 171px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: -236px; top: 427px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 276px; top: 171px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 276px; top: 427px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 407px; top: 126px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 20px; top: 683px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: -236px; top: -85px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: -236px; top: 683px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 719px; top: 105px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 276px; top: 683px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 532px; top: 171px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 532px; top: 427px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 722px; top: 170px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 532px; top: 683px;"></div></div></div></div><div style="z-index: 103; position: absolute; left: 0px; top: 0px;"><div style="position: absolute; left: 0px; top: 0px; z-index: -1;"><div style="position: absolute; left: 0px; top: 0px; z-index: 1;"><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 20px; top: 171px;"><canvas width="256" height="256" style="position: absolute; left: 0px; top: 0px;"></canvas></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 20px; top: 427px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: -236px; top: 171px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: -236px; top: 427px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 276px; top: 171px;"><canvas width="256" height="256" style="position: absolute; left: 0px; top: 0px;"></canvas></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 276px; top: 427px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 433px; top: 207px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left:
IT DEPARTMENT, SRMGPC, Lucknow Page 120
Page 121
RAILWAY INTELLIGENCE SYSTEM
20px; top: 683px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: -236px; top: -85px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: -236px; top: 683px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 689px; top: 65px;"><img src="durnew_files/vt.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 276px; top: 683px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 532px; top: 171px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 532px; top: 427px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 743px; top: 199px;"></div><div style="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 532px; top: 683px;"></div></div></div></div><div style="z-index: 104; position: absolute; left: 0px; top: 0px;"></div><div style="z-index: 105; position: absolute; left: 0px; top: 0px;"></div><div style="z-index: 106; position: absolute; left: 0px; top: 0px;"></div><div style="position: absolute; z-index: 0; left: 0px; top: 0px;"><div style="overflow: hidden; width: 463px; height: 700px;"><img src="durnew_files/StaticMapService.png" style="width: 463px; height: 700px;"></div></div><div style="position: absolute; left: 0px; top: 0px; z-index: 1;"><div style="position: absolute; left: 0px; top: 0px; z-index: 1;"><div style="width: 256px; height: 256px; position: absolute; left: 20px; top: 171px;"><img src="durnew_files/vt_015.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 20px; top: 427px;"><img src="durnew_files/vt_006.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; position: absolute; left: -236px; top: 171px;"><img src="durnew_files/vt_009.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; position: absolute; left: -236px; top: 427px;"><img src="durnew_files/vt_016.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 276px; top: 171px;"><img src="durnew_files/vt_010.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 276px; top: 427px;"><img src="durnew_files/vt_007.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 563px; top: 93px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 20px; top: 683px;"><img src="durnew_files/vt_004.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; position: absolute; left: -236px; top: -85px;"><img src="durnew_files/vt_002.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; position: absolute; left: -236px; top: 683px;"><img src="durnew_files/vt_008.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 276px; top: -85px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 276px; top: 683px;"><img src="durnew_files/vt_013.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 532px; top: 171px;"><img src="durnew_files/vt_011.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 532px; top: 427px;"><img src="durnew_files/vt_005.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 532px; top: -85px;"></div><div style="width: 256px; height: 256px; position: absolute; left: 532px; top: 683px;"><img src="durnew_files/vt_012.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin:
IT DEPARTMENT, SRMGPC, Lucknow Page 121
Page 122
RAILWAY INTELLIGENCE SYSTEM
0px;"></div></div></div></div><img src="durnew_files/vt_014.png" style="width: 256px; height: 256px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div><div style="margin: 2px 5px 2px 2px; z-index: 12; position: absolute; left: 0px; bottom: 0px;"><a href="http://maps.google.com/maps?ll=28.06151,88.454533&z=4&t=m" target="_blank" title="Click to see this area on Google Maps" style="position: static; overflow: visible; float: none; display: inline;"><div style="width: 62px; height: 24px; cursor: pointer;"><img src="durnew_files/google_white.png" style="position: absolute; left: 0px; top: 0px; width: 62px; height: 24px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"></div></a></div><div style="z-index: 1000; position: absolute; right: 0px; bottom: 0px;"><div style="position: static; overflow: visible; float: none; color: black; font-family: Arial,sans-serif; -moz-user-select: none; display: block; font-size: 11px; white-space: nowrap; text-align: right; padding: 2px; direction: ltr;"><span style="text-decoration: underline; cursor: pointer; color: rgb(119, 119, 204);">Map Data</span><span style="color: rgb(0, 0, 0); display: none;">Map
data ©2011 Basarsoft, Europa Technologies, Geocentre Consulting, MapIT,
ORION-ME, SK M&C, Tele Atlas, Transnavicom, Whereis(R), Sensis Pty
Ltd, ZENRIN</span><span style="color: rgb(0, 0, 0);"> - </span><a style="color: rgb(119, 119, 204);" target="_blank" href="http://www.google.com/intl/en-US_IN/help/terms_maps.html">Terms of Use</a></div></div><div style="position: absolute; font-family: Arial,sans-serif; z-index: 1000; overflow: visible; display: none; -moz-user-select: none; cursor: default; width: 300px; height: 180px;"><img src="durnew_files/iphone-dialog-bg.png" style="width: 300px; height: 180px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; position: relative; opacity: 0.9;"><div style="font-weight: bold; color: white; text-align: center; padding: 5px; position: absolute; left: 0px; top: 0px; font-size: 16px; width: 290px;">Map Data</div><div style="position: absolute; font-family: inherit; bottom: 15px; cursor: pointer; background-color: transparent; border: 0pt none; padding: 0pt; margin: 0pt; font-size: 14px; left: 90px; width: 120px; height: 40px;"><img src="durnew_files/iphone-dialog-button.png" style="position: absolute; left: 0px; top: 0px; width: 120px; height: 40px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;"><span style="color: white; text-align: center; width: 100%; height: 100%; background-color: transparent; position: absolute; left: 0px; top: 0px; padding-top: 10px;">Close</span></div><div style="color: white; text-align: center; font-size: 14px; position: absolute; left: 25px; top: 45px; width: 250px;">Map
data ©2011 Basarsoft, Europa Technologies, Geocentre Consulting, MapIT,
ORION-ME, SK M&C, Tele Atlas, Transnavicom, Whereis(R), Sensis Pty
Ltd, ZENRIN</div></div><div controlheight="341" controlwidth="78" style="z-index: 10; margin: 5px; -moz-user-select: none; position: absolute; left: 0px; top: 0px;" class="gmnoprint"><div style="cursor: url("http://maps.gstatic.com/intl/en_us/mapfiles/openhand_8_8.cur"), default; width: 78px; height: 78px; position: absolute; left: 0px; top: 0px;" controlheight="80" controlwidth="78" class="gmnoprint"><div style="width: 78px; height: 78px; position: absolute; left: 0px; top: 0px;" controlheight="80" controlwidth="78" class="gmnoprint"><div style="visibility: hidden;"><svg viewBox="0 0 78 78" height="78px" width="78px" overflow="hidden" version="1.1" style="position: absolute; left: 0px; top: 0px;"><circle stroke="#f2f4f6" fill="#f2f4f6" fill-opacity="0.2" stroke-width="3" r="35" cy="39" cx="39"></circle><g transform="rotate(0, 39, 39)"><rect fill="#f2f4f6" stroke-width="1" stroke="#a6a6a6" height="11" width="12" ry="4" rx="4" y="0" x="33"></rect><polyline stroke="#000" fill="#f2f4f6" stroke-width="1.5" stroke-linejoin="bevel" points="36.5,8.5 36.5,2.5 41.5,8.5 41.5,2.5"></polyline></g></svg></div></div><div style="position: absolute; left: 10px; top: 11px;" controlheight="59" controlwidth="59" class="gmnoprint"><div style="width: 59px; height: 59px;
IT DEPARTMENT, SRMGPC, Lucknow Page 122
Page 123
RAILWAY INTELLIGENCE SYSTEM
overflow: hidden; position: relative;"><img src="durnew_files/mapcontrols3d6.png" style="position: absolute; left: 335px; top: 104px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; width: 59px; height: 492px;"><div title="Pan left" style="position: absolute; left: 0px; top: 19px; width: 19.3333px; height: 19.3333px; cursor: pointer;"></div><div title="Pan right" style="position: absolute; left: 39px; top: 19px; width: 19.3333px; height: 19.3333px; cursor: pointer;"></div><div title="Pan up" style="position: absolute; left: 19px; top: 0px; width: 19.3333px; height: 19.3333px; cursor: pointer;"></div><div title="Pan down" style="position: absolute; left: 19px; top: 39px; width: 19.3333px; height: 19.3333px; cursor: pointer;"></div></div></div></div><div controlheight="38" controlwidth="32" style="cursor: url("http://maps.gstatic.com/intl/en_us/mapfiles/openhand_8_8.cur"), default; z-index: 10; position: absolute; left: 23px; top: 85px;"><div style="width: 32px; height: 38px; overflow: hidden; position: absolute; left: 0px; top: 0px;"><img src="durnew_files/cb_scout_sprite_api_002.png" style="position: absolute; left: -4px; top: 192px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; width: 1029px; height: 255px;"></div><div style="width: 32px; height: 38px; overflow: hidden; position: absolute; left: 0px; top: 0px; visibility: hidden;"><img src="durnew_files/cb_scout_sprite_api_002.png" style="position: absolute; left: -91px; top: 126px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; width: 1029px; height: 255px;"></div><div style="width: 32px; height: 38px; overflow: hidden; position: absolute; left: 0px; top: 0px; visibility: hidden;"><img src="durnew_files/cb_scout_sprite_api_002.png" style="position: absolute; left: -54px; top: 115px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; width: 1029px; height: 255px;"></div><div style="width: 32px; height: 38px; overflow: hidden; position: absolute; left: 321px; top: 16px; visibility: hidden;"><img src="durnew_files/cb_scout_sprite_api_002.png" style="position: absolute; left: -200px; top: 149px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; width: 1029px; height: 255px;"></div></div><div style="display: none; position: absolute;" controlheight="0" controlwidth="0" class="gmnoprint"><img title="Rotate map 90 degrees" style="-moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; cursor: pointer; width: 20px; height: 20px;" src="durnew_files/rotate.png"></div><div controlheight="213" controlwidth="24" style="position: absolute; left: 27px; top: 128px;" class="gmnoprint"><div title="Zoom in" style="width: 24px; height: 22px; overflow: hidden; position: relative; cursor: pointer;"><img src="durnew_files/mapcontrols3d6.png" style="position: absolute; left: -17px; top: -65px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; width: 59px; height: 492px;"></div><div title="Click to zoom" style="width: 24px; height: 169px; overflow: hidden; position: relative; cursor: pointer;"><img src="durnew_files/mapcontrols3d6.png" style="position: absolute; left: -17px; top: -87px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; width: 59px; height: 492px;"></div><div title="Zoom out" style="width: 24px; height: 22px; overflow: hidden; position: relative; cursor: pointer;"><img src="durnew_files/mapcontrols3d6.png" style="position: absolute; left: 433px; top: -223px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; width: 59px; height: 492px;"></div><div title="Drag to zoom" style="width: 20px; height: 12px; overflow: hidden; position: absolute; cursor: url("http://maps.gstatic.com/intl/en_us/mapfiles/openhand_8_8.cur"), default; left: 2px; top: 149px;"><img src="durnew_files/mapcontrols3d6.png" style="position: absolute; left: 372px; top: -268px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; width: 59px; height: 492px;"></div></div></div><div style="margin: 5px; z-index: 11; position: absolute; cursor: pointer; right: 0px; top: 0px;" class="gmnoprint"><div style="float: left;"><div title="Show street map" style="direction: ltr; overflow: hidden; text-align: center; color: white; font-family: Arial,sans-serif; -moz-user-select: none; font-size: 12px; background: -moz-linear-gradient(center top , rgb(109, 138, 204), rgb(123, 152, 217)) repeat scroll 0% 0% transparent; line-height: 160%; padding: 0pt 6px; border-radius: 2px 0pt 0pt 2px; box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35); border: 1px solid rgb(103, 138, 199); font-weight: bold; min-width: 26px;">Map</div><div style="background-color: white; z-index: -1; padding-
IT DEPARTMENT, SRMGPC, Lucknow Page 123
Page 124
RAILWAY INTELLIGENCE SYSTEM
top: 1px; border-width: 0pt 1px 1px; border-style: none solid solid; border-color: -moz-use-text-color rgb(169, 187, 223) rgb(169, 187, 223); -moz-border-top-colors: none; -moz-border-right-colors: none; -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-image: none; box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35); position: absolute; left: 0px; top: 21px; text-align: left; display: none;"><div title="Show street map with terrain" style="color: black; font-family: Arial,sans-serif; -moz-user-select: none; font-size: 12px; background-color: rgb(255, 255, 255); line-height: 160%; padding: 0pt 8px 0pt 6px; direction: ltr; text-align: left; white-space: nowrap;"><input style="vertical-align: middle;" type="checkbox"><label style="vertical-align: middle; cursor: pointer;">Terrain</label></div></div></div><div style="float: left;"><div title="Show satellite imagery" style="direction: ltr; overflow: hidden; text-align: center; color: black; font-family: Arial,sans-serif; -moz-user-select: none; font-size: 12px; background: -moz-linear-gradient(center top , rgb(254, 254, 254), rgb(243, 243, 243)) repeat scroll 0% 0% transparent; line-height: 160%; padding: 0pt 6px; border-radius: 0pt 2px 2px 0pt; box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35); border-top: 1px solid rgb(169, 187, 223); border-right: 1px solid rgb(169, 187, 223); border-bottom: 1px solid rgb(169, 187, 223); -moz-border-top-colors: none; -moz-border-right-colors: none; -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-image: none; font-weight: normal; min-width: 47px;">Satellite</div><div style="background-color: white; z-index: -1; padding-top: 1px; border-width: 0pt 1px 1px; border-style: none solid solid; border-color: -moz-use-text-color rgb(169, 187, 223) rgb(169, 187, 223); -moz-border-top-colors: none; -moz-border-right-colors: none; -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-image: none; box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35); position: absolute; right: 0px; top: 21px; text-align: left; display: none;"><div title="Zoom in to show 45 degree view" style="color: gray; font-family: Arial,sans-serif; -moz-user-select: none; font-size: 12px; background-color: rgb(255, 255, 255); line-height: 160%; padding: 0pt 8px 0pt 6px; direction: ltr; text-align: left; white-space: nowrap; display: none;"><input disabled="disabled" style="vertical-align: middle;" type="checkbox"><label style="vertical-align: middle; cursor: pointer;">45°</label></div><div title="Show imagery with street names" style="color: black; font-family: Arial,sans-serif; -moz-user-select: none; font-size: 12px; background-color: rgb(255, 255, 255); line-height: 160%; padding: 0pt 8px 0pt 6px; direction: ltr; text-align: left; white-space: nowrap;"><input checked="checked" style="vertical-align: middle;" type="checkbox"><label style="vertical-align: middle; cursor: pointer;">Labels</label></div></div></div></div></div></div></div></td><td id="StationMargin" align="left" valign="top"><div class="listingcapsulehalf" style="text-align:center;"><div>
</div><div style="height:680px;overflow:auto;"><div class="forumbg"><span class="corners-top-subtab"><span></span></span><div><table style="width: 100%;" id="ScheduleMapTable" cellpadding="0" cellspacing="0"><tbody><tr class="first-child"><td class="first-child">Station</td><td>Date</td><td>Delay</td><td>Arr</td><td>Dep</td></tr><tr class="darkrow" style="cursor: pointer;" mapindex="0"><td class="first-child" nowrap="nowrap"><em>Dibrugarh Tow.../DBRT</em></td><td nowrap="nowrap"><em>Mon Mar 28</em></td><td nowrap="nowrap"><em>n/a</em></td><td nowrap="nowrap"><em></em></td><td nowrap="nowrap"><em>19:00</em></td></tr><tr class="" style="cursor: pointer;" mapindex="1"><td class="first-child" nowrap="nowrap"><em>Tinsukia Junc.../TSK</em></td><td nowrap="nowrap"><em>Mon Mar 28</em></td><td nowrap="nowrap"><em>n/a</em></td><td nowrap="nowrap"><em>19:55</em></td><td nowrap="nowrap"><em>20:05</em></td></tr><tr class="darkrow" style="cursor: pointer;" mapindex="2"><td class="first-child" nowrap="nowrap"><em>Mariani Junct.../MXN</em></td><td nowrap="nowrap"><em>Mon Mar 28</em></td><td nowrap="nowrap"><em>n/a</em></td><td nowrap="nowrap"><em>22:10</em></td><td nowrap="nowrap"><em>22:20</em></td></tr><tr class="" style="cursor: pointer;" mapindex="3"><td class="first-child" nowrap="nowrap"><em>Dimapur/DMV</em></td><td nowrap="nowrap"><em>Tue Mar
IT DEPARTMENT, SRMGPC, Lucknow Page 124
Page 125
RAILWAY INTELLIGENCE SYSTEM
29</em></td><td nowrap="nowrap"><em>n/a</em></td><td nowrap="nowrap"><em>00:20</em></td><td nowrap="nowrap"><em>00:25</em></td></tr><tr class="darkrow" style="cursor: pointer;" mapindex="4"><td class="first-child" nowrap="nowrap"><em>Diphu/DPU</em></td><td nowrap="nowrap"><em>Tue Mar 29</em></td><td nowrap="nowrap"><em>n/a</em></td><td nowrap="nowrap"><em>01:00</em></td><td nowrap="nowrap"><em>01:02</em></td></tr><tr style="cursor: pointer;" mapindex="5"><td class="first-child" nowrap="nowrap"><em>Lumding Junct.../LMG</em></td><td nowrap="nowrap"><em>Tue Mar 29</em></td><td nowrap="nowrap"><em>n/a</em></td><td nowrap="nowrap"><em>01:55</em></td><td nowrap="nowrap"><em>01:57</em></td></tr><tr class="darkrow" style="cursor: pointer;" mapindex="6"><td class="first-child" nowrap="nowrap"><em>Guwahati/GHY</em></td><td nowrap="nowrap"><em>Tue Mar 29</em></td><td nowrap="nowrap"><em>n/a</em></td><td nowrap="nowrap"><em>05:05</em></td><td nowrap="nowrap"><em>05:55</em></td></tr><tr style="cursor: pointer;" mapindex="7"><td class="first-child" nowrap="nowrap"><em>New Bongaigao.../NBQ</em></td><td nowrap="nowrap"><em>Tue Mar 29</em></td><td nowrap="nowrap"><em>n/a</em></td><td nowrap="nowrap"><em>08:11</em></td><td nowrap="nowrap"><em>08:13</em></td></tr><tr class="darkrow" style="cursor: pointer;" mapindex="8"><td class="first-child" nowrap="nowrap"><em>Kokrajhar/KOJ</em></td><td nowrap="nowrap"><em>Tue Mar 29</em></td><td nowrap="nowrap"><em>n/a</em></td><td nowrap="nowrap"><em>08:37</em></td><td nowrap="nowrap"><em>08:38</em></td></tr><tr style="cursor: pointer;" onclick="javascript:highlightRailMarker(0)" mapindex="9999" rail="1"><td colspan="5" class="first-child" style="background-image: url("/images/dotted.png"); text-align: center;"><img src="durnew_files/railsmall.gif"></td></tr><tr style="cursor: pointer;" mapindex="9"><td class="first-child" nowrap="nowrap">New Alipurdua.../NOQ</td><td nowrap="nowrap">Tue Mar 29</td><td nowrap="nowrap">n/a</td><td nowrap="nowrap">09:34</td><td nowrap="nowrap">09:36</td></tr><tr class="darkrow" style="cursor: pointer;" mapindex="10"><td class="first-child" nowrap="nowrap">New Cooch Beh.../NCB</td><td nowrap="nowrap">Tue Mar 29</td><td nowrap="nowrap">n/a</td><td nowrap="nowrap">10:03</td><td nowrap="nowrap">10:05</td></tr><tr style="cursor: pointer;" mapindex="11"><td class="first-child" nowrap="nowrap"><b>New Jalpaigur.../NJP</b></td><td nowrap="nowrap"><b>Tue Mar 29</b></td><td nowrap="nowrap">n/a</td><td nowrap="nowrap"><b>11:55</b></td><td nowrap="nowrap"><b>12:05</b></td></tr><tr class="darkrow" style="cursor: pointer;" mapindex="12"><td class="first-child" nowrap="nowrap">KishanGanj/KNE</td><td nowrap="nowrap">Tue Mar 29</td><td nowrap="nowrap">n/a</td><td nowrap="nowrap">13:11</td><td nowrap="nowrap">13:13</td></tr><tr style="cursor: pointer;" mapindex="13"><td class="first-child" nowrap="nowrap"><b>Katihar Junct.../KIR</b></td><td nowrap="nowrap"><b>Tue Mar 29</b></td><td nowrap="nowrap">n/a</td><td nowrap="nowrap"><b>15:15</b></td><td nowrap="nowrap"><b>16:05</b></td></tr><tr class="darkrow" style="cursor: pointer;" mapindex="14"><td class="first-child" nowrap="nowrap"><b>Barauni Junct.../BJU</b></td><td nowrap="nowrap"><b>Tue Mar 29</b></td><td nowrap="nowrap">n/a</td><td nowrap="nowrap"><b>18:40</b></td><td nowrap="nowrap"><b>19:00</b></td></tr><tr style="cursor: pointer;" mapindex="15"><td class="first-child" nowrap="nowrap">Hajipur Junct.../HJP</td><td nowrap="nowrap">Tue Mar 29</td><td nowrap="nowrap">n/a</td><td nowrap="nowrap">20:35</td><td nowrap="nowrap">20:36</td></tr><tr class="darkrow" style="cursor: pointer;" mapindex="16"><td class="first-child" nowrap="nowrap"><b>Chhapra Junct.../CPR</b></td><td nowrap="nowrap"><b>Tue Mar 29</b></td><td nowrap="nowrap">n/a</td><td nowrap="nowrap"><b>21:50</b></td><td nowrap="nowrap"><b>21:55</b></td></tr><tr style="cursor: pointer;" mapindex="17"><td class="first-child" nowrap="nowrap"><b>Ballia/BUI</b></td><td nowrap="nowrap"><b>Tue Mar 29</b></td><td nowrap="nowrap">n/a</td><td nowrap="nowrap"><b>22:55</b></td><td
IT DEPARTMENT, SRMGPC, Lucknow Page 125
Page 126
RAILWAY INTELLIGENCE SYSTEM
nowrap="nowrap"><b>23:00</b></td></tr><tr class="darkrow" style="cursor: pointer;" mapindex="18"><td class="first-child" nowrap="nowrap"><b>Varanasi Junc.../BSB</b></td><td nowrap="nowrap"><b>Wed Mar 30</b></td><td nowrap="nowrap">n/a</td><td nowrap="nowrap"><b>01:30</b></td><td nowrap="nowrap"><b>01:40</b></td></tr><tr style="cursor: pointer;" mapindex="19"><td class="first-child" nowrap="nowrap"><span class="routestart"><b>Lucknow/LKO</b>»</span></td><td nowrap="nowrap"><b>Wed Mar 30</b></td><td nowrap="nowrap">n/a</td><td nowrap="nowrap"><b>06:00</b></td><td nowrap="nowrap"><b>06:10</b></td></tr><tr class="darkrow" style="cursor: pointer;" mapindex="20"><td class="first-child" nowrap="nowrap">Bareilly/BE</td><td nowrap="nowrap">Wed Mar 30</td><td nowrap="nowrap">n/a</td><td nowrap="nowrap">09:15</td><td nowrap="nowrap">09:17</td></tr><tr style="cursor: pointer;" mapindex="21"><td class="first-child" nowrap="nowrap"><b>Moradabad/MB</b></td><td nowrap="nowrap"><b>Wed Mar 30</b></td><td nowrap="nowrap">n/a</td><td nowrap="nowrap"><b>10:55</b></td><td nowrap="nowrap"><b>11:00</b></td></tr><tr class="darkrow" style="cursor: pointer;" mapindex="22"><td class="first-child" nowrap="nowrap"><span class="routestop"><b>New Delhi/NDLS</b>•</span></td><td nowrap="nowrap"><b>Wed Mar 30</b></td><td nowrap="nowrap">n/a</td><td nowrap="nowrap"><b>13:45</b></td><td nowrap="nowrap"><b></b></td></tr></tbody></table></div><span class="corners-bottom-subtab"><span></span></span></div></div></div></td></tr></tbody></table></div>
<div style="display:none" id="SearchPage"></div><div class="footer" id="Footer"></div><br>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script><script src="durnew_files/ga.js" type="text/javascript"></script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4243187-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<div id="fb-root"></div>
<script src="durnew_files/all.js"></script>
</body></html>
IT DEPARTMENT, SRMGPC, Lucknow Page 126
Page 127
RAILWAY INTELLIGENCE SYSTEM
7.TESTING
Software testing is a critical element of software quality assurance and represent the
ultimate review of specification, design, coding. The purpose of product testing is to
verify and validate the various work products viz. units, integrated unit, final product to
ensure that they meet their requirements.
7.1. Testing Objectives:--
Basically, testing is done for the following purposes:
Testing is a process of executing a program with intend of finding an error.
A good test case is one that has a high probability of finding a yet undiscovered
error.
A successful test case is one that uncovers a yet undiscovered error.
Our objective is to design test cases that systematically uncover different classes
of errors and do so with a minimum amount of time and effort. This process has two
parts:--
Planning: This involves writing and reviewing unit, integration, functional,
validation and acceptance test plans.
Execution: This involves executing these test plans, measuring, collecting data
and verifying if it meets the quality criteria. Data collected is used to make
appropriate changes in the plans related to development and testing.
7.2. System Testing:
Once the entire system has been built then it has to be tested against the “System
Specification” to check if it delivers the features required. It is still developer focused,
although specialist developers known as system testers are normally employed to do it.
IT DEPARTMENT, SRMGPC, Lucknow Page 127
Page 128
RAILWAY INTELLIGENCE SYSTEM
In essence System testing is not about checking the individual parts of the design, but
about checking the system as a whole. In effect it is one giant component. System testing
can involve a number of specialist types of test to see if all the functional and non-
functional requirements have been met.
7.2.1. Objectives of System Test: At a high level, this System Test intends to
prove that :-
The functionality, delivered by the development team, is as specified by the
business in the Business Design Specification Document and the Requirements
Documentation.
The software is of high quality; the software will replace/support the intended
business functions and achieves the standards required by the company for the
development of new systems.
7.2.2. Formal Reviewing:
There will be several formal review points before and during system test. This is a vital
element in achieving a quality product.
7.2.2.1. Formal Review Points:
1. Design Documentation
2. Testing Approach
3. Unit Test Plans
4. Unit Test Conditions & Results
5. System Test Conditions
6. System Test Progress
7. Post System Test Review
IT DEPARTMENT, SRMGPC, Lucknow Page 128
Page 129
RAILWAY INTELLIGENCE SYSTEM
7.2.3. Testing Scope:
Outlined below are the main test types that will be performed for this release. All system
test plans and conditions will be developed from the functional specification and the
requirements catalogue.
7.3. Functional Testing:
The objective of this test is to ensure that each element of the application meets the
functional requirements of the business as outlined in the :
Requirements Catalogue
Other functional documents produced during the course of the project i.e.
resolution to issues/change requests/feedback.
This stage will also include Validation Testing - which is intensive testing of the new
Front end fields and screens. Windows GUI Standards; valid, invalid and limit data input;
screen & field look and appearance, and overall consistency with the rest of the
application.
The third stage includes Specific Functional testing - these are low-level tests which aim
to test the individual processes and data flows.
7.4. Integration Testing:
This test proves that all areas of the system interface with each other correctly and that
there are no gaps in the data flow. Final Integration Test proves that system works as
integrated unit when all the fixes are complete.
7.5. Business (User) Acceptance Test:
This test, which is planned and executed by the Business Representative(s), ensures that
the system operates in the manner expected, and any supporting material such as
procedures, forms etc. are accurate and suitable for the purpose intended. It is high level
testing, ensuring that there are no gaps in functionality.
IT DEPARTMENT, SRMGPC, Lucknow Page 129
Page 130
RAILWAY INTELLIGENCE SYSTEM
7.6. Performance Testing:
These tests ensure that the system provides acceptable response times.
7.7. Penetration testing:
It is to ensure that an intruder cannot break into the system using SQL injection or other
such techniques. The use of prepared statement for database queries prevents attacks
from SQL injection.
7.8. System Test Entrance/Exit Criteria:
Entrance Criteria
The Entrance Criteria specified by the system test controller, should be fulfilled before
System Test can commence.
All developed code must be unit tested. Unit and Link Testing must be completed
and signed off by development team.
All human resources must be assigned and in place.
All test hardware and environments must be in place, and free for System test use.
Exit Criteria
The Exit Criteria detailed below must be achieved before the Phase 1 software can be
recommended for promotion to Operations Acceptance status.
All High Priority errors from System Test must be fixed and tested.
7.9. Validation Checks:
Various validations have been enforced to maintain the integrity of the system.
Validations have been enforced in the registration forms so that the user does not enter
IT DEPARTMENT, SRMGPC, Lucknow Page 130
Page 131
RAILWAY INTELLIGENCE SYSTEM
any invalid information. He should not leave any compulsory field blank all other
constraints on the information provided by the user are also maintained by these
validation tests.
Validations have also been enforced to validate users before login. The
login validation is done using the user id and password of the user. The details entered by
the user are authenticated from the database then only the user is authorized to view the
account. Here the login id and password are assumed to be confidential to the user. If the
id and password provided by user do not match error is generated.
7.9.1. Screen shots Of Validation Form:
Figure 6.2
IT DEPARTMENT, SRMGPC, Lucknow Page 131
Page 132
RAILWAY INTELLIGENCE SYSTEM
Figure 6.3
IT DEPARTMENT, SRMGPC, Lucknow Page 132
Page 133
RAILWAY INTELLIGENCE SYSTEM
8. ADVANTAGES, APPLICATIONS
AND LIMITATIONS
8.1 Advantages:
Just like any automated system this system offers the automatic mail and SMS to user on
train delay to registered user. This project provides facility over route finding for journey
this provides all possible train details. This provides list of train from that user will
choose its appropriate train user will choose train from list where all details will be
provided and its facility the user can choose the train.
This project will provide relax to user in finding train and it will not provide any
complicacy to user the interface we have provided is very simple in use and
understandable to user.It is easy to implement and will not shows any kind of
complicacy.
8.2 Applications:
only be used by Railway.
Automatic mail and SMS.
8.3 Limitation:
The system has a few limitations; this is due to constrained time and the fact that only
two members were available for the whole project.
These limitations have been enumerated as follows:
We are not providing reservation facility.
We are not providing the auto email and SMS to all user this is only for limited
users.
The system currently automates only the mail and SMS not whole of project.
IT DEPARTMENT, SRMGPC, Lucknow Page 133
Page 134
RAILWAY INTELLIGENCE SYSTEM
9. CONCLUSION
The major emphasis of the project was on providing minimum route to user for
journey with appropriate time and distance. User will ask for train and our project
will give the whole of information according to need. All the registered user will get
the train delay information through mail.
All above requirements have been successfully fulfilled. Thus a product which is
ready for use in the real world scenario has been developed.
IT DEPARTMENT, SRMGPC, Lucknow Page 134
Page 135
RAILWAY INTELLIGENCE SYSTEM
10. FUTURE SCOPE
The future scope includes the following functionalities which are provided by the system
or can be easily added to it:
Whole project can be automated in future .
Use of advanced tools for finding good way.
In future we can provide online reservation facility.
In future we can also include intelligent track monitoring.
Support large number of user i.e. higher availability.
Increase the level and effectiveness of interaction between the various entities.
IT DEPARTMENT, SRMGPC, Lucknow Page 135
Page 136
RAILWAY INTELLIGENCE SYSTEM
11. APPENDICES
11.1 Appendix A:
11.1.1 List of Figures:
1. Fig 3.1 –Incremental model
2. Fig 3.2 – Gantt chart
3. Fig 3.3 –CPM chart
4. Fig 3.4 –Pert chart
5. Fig 4.1 –Support(in software paradigm)
6. Fig 4.2 – User Interface design
IT DEPARTMENT, SRMGPC, Lucknow Page 136
Page 137
RAILWAY INTELLIGENCE SYSTEM
11.2 Appendix B:
11.2.1 List of tables:
1. Table 4.1 –Hardware configuration
2. Table 4.2 – Software configuration
3. Table 5.2 –Registration table
4. Table 5.3– Train table
5. Table 5.4– Snapshot of registration table
6. Table 5.5– Snapshot of train table
IT DEPARTMENT, SRMGPC, Lucknow Page 137
Page 138
RAILWAY INTELLIGENCE SYSTEM
11.3 Reference:
[1] www.indianrail.gov.in
[2] www.indianrailwayinfo.com
[3] Luzi Anderegg (2000) Prentice Hall , pp 26-34.
[4] Nupur Kothari, Dr. Dheeraj Sanghi (2002) ‘Intelligent Railway Information
System’, IIT Kanpur, pp 8-20.
[5] Yun Yusong(2003) ‘The Basic Desores on Intelligent Railway’ Sichuan
University, pp 105-110.
IT DEPARTMENT, SRMGPC, Lucknow Page 138