Documente Academic
Documente Profesional
Documente Cultură
1. Introduction
Using this software application for vehicle registration office which works on
managing vehicles information and adding and removing new vehicle information
like registration no, name of owner, name of vehicle company and model of vehicle
and other vehicle related information and assign vehicle identification number etc.
this can save time, increase efficiency and provide efficient support for vehicle owner
and registration office.
The maintenance of the records of the different categories of vehicles and
their owners. The user of this program can add records of the vehicles and their
owners, view these records and can also edit them.
This project is basically aimed for the road and transport office which have
large number of records of different types of vehicles to be maintained. The project
makes it easier to search these records and edit them. The project has a very user
friendly interface and all the operations that can be performed in the project are selfexplanatory. It reduces the effort required to manually maintain all these records. This
project will really reduce the laborious record keeping.
The another part of process is FIR registration against vehicle and find
register FIR from record while changing ownership of vehicle The third part of
module is mobile application created using phone gap so we can use it any mobile
platform supported by phonegap for searching
,Insurance Companies use it keep tracking vehicle, owner details and physical
verification of the vehicle etc. This system providing better services to the customer
that is customer wants to view the details of the vehicle and model and Color of the
vehicle. This system is useful for both Organization and Customer
Workshops are
physical
details displaying
Flowchart tools
The overall logic al structure (schema) of a database can be expressed graphically by
an ER-diagram, which is built up from the following components:
Lines used to link attributes to entity sets and entity sets to Relationships:
Attribute Name
START
NO
YES
New Vehicle?
Enter Details
Register
User Login
Use /Flow
Upload documents and details
Fig. : Flowchart of Application Data
END
HANDLES
Registered user
Login id
Password
Reg. No.
Vehicle Data
Color
Data Base
Searching
Section
Section
Vehicle
Identification
System
Exit
::
::
ASP.NET
Microsoft SQL Server 2012
Development Environment
::
::
Phonegap
Windows 7 / 8.
Phonegap
PhoneGap is a mobile development framework produced by Nitobi,
purchased by Adobe Systems. It enables software programmers to build applications
for mobile devices using JavaScript, HTML5, and CSS3, instead of device-specific
languages such as Objective-C or Java. The resulting applications are hybrid, meaning
that they are neither truly native (because all layout rendering is done via web views
instead of the platform's native UI framework) nor purely web-based (because they
are not just web apps, but are packaged as apps for distribution and have access to
native device APIs). From version 1.9 onward it is even possible to freely mix native
and hybrid code snippets.
The software underlying PhoneGap is Apache Cordova. The software was
previously called just "PhoneGap", then "Apache Callback". Apache Cordova is open
source software.
What is PhoneGap
PhoneGap is a mobile development framework produced by Nitobi,
purchased by Adobe Systems. It enables software programmers to build applications
for mobile devices using JavaScript, HTML5, and CSS3, instead of device-specific
languages such as Objective-C or Java. The resulting applications are hybrid, meaning
that they are neither truly native (because all layout rendering is done via web views
instead of the platform's native UI framework) nor purely web-based (because they
are not just web apps, but are packaged as apps for distribution and have access to
native device APIs). From version 1.9 onward it is even possible to freely mix native
and hybrid code snippets.
The software underlying PhoneGap is Apache Cordova. The software was
previously called just "PhoneGap", then "Apache Callback". Apache Cordova is open
source software.
First developed at an iPhoneDevCamp event in San Francisco, PhoneGap
went on to win the People's Choice Award at O'Reilly Media's 2009 Web 2.0
Conference and the framework has been used to develop many apps. Apple Inc. has
confirmed that the framework has its approval, even with the new 4.0 developer
license agreement changes. The PhoneGap framework is used by several mobile
application platforms such as ViziApps, Worklight, Convertigo, and appMobi as the
backbone of their mobile client development engine. Adobe officially announced the
acquisition of Nitobi Software (the original developer) on October 4, 2011.
Coincident with that, the PhoneGap code was contributed to the Apache Software
Foundation to start a new project called Apache Cordova. The project original name,
Apache Callback, was viewed as too generic. Then it also appears in Adobe Systems
as Adobe PhoneGap and also as Adobe Phonegap Build.
Early versions of PhoneGap required a person making iOS apps to have an
Apple computer, and a person making Windows Mobile apps to have a computer
running Windows. After September 2012, Adobe's PhoneGap Build service allows
programmers to upload HTML, CSS and JavaScript source code to a "cloud
compiler" that generates apps for every supported platform.
Phone-Gap Architecture
Front End
C# (pronounced as see sharp) is a multi-paradigm programming language
encompassing strong typing, imperative, declarative, functional, generic, objectoriented (class-based), and component-oriented programming disciplines. It was
developed by Microsoft within its .NET initiative and later approved as a standard by
Emma (ECMA-334) and ISO (ISO/IEC 23270:2006). C# is one of the programming
languages designed for the Common Language Infrastructure. C# is a generalpurpose, object-oriented programming language.[9] Its development team is led by
Anders Hejlsberg. The most recent version is C# 6.0, which was released on July 20,
2015.
The ECMA standard lists these design goals for C#The C# language is intended to be a simple, modern, general-purpose, objectoriented programming language.
Language, and implementations thereof, should provide support for software
engineering principles such as strong type checking, array bounds checking, detection
of attempts to use uninitialized variables, and automatic garbage collection. Software
robustness, durability, and programmer productivity are important.
The language is intended for use in developing software components suitable
for deployment in distributed environments.
Portability is very important for source code and programmers, especially
those already familiar with C and C++.
C# is intended to be suitable for writing applications for both hosted and
embedded systems, ranging from the very large that use sophisticated operating
systems, down to the very small having dedicated functions.
Although C# applications are intended to be economical with regard to
memory and processing power requirements, the language was not intended to
compete directly on performance and size with C or assembly language.
Some notable features of C# are as followsPortability - By design, C# is the programming language that most directly reflects
the underlying Common Language Infrastructure (CLI). Most of its intrinsic
types correspond to value-types implemented by the CLI framework.
However, the language specification does not state the code generation
requirements of the compiler: that is, it does not state that a C# compiler must
R.D.I.K &N.K.D COLLEGE BADNERA Page 15
Back End
Microsoft SQL Server is a relational database management system developed
by Microsoft. As a database server, it is a software product with the primary function
of storing and retrieving data as requested by other software applications which may
run either on the same computer or on another computer across a network (including
the Internet).
Microsoft markets at least a dozen different editions of Microsoft SQL
Server, aimed at different audiences and for workloads ranging from small singlemachine applications to large Internet-facing applications with many concurrent
users.SQL Server 2012 Service Pack 1 was released to manufacturing on November
9, 2012, and Service Pack 2 was released to manufacturing on June 10, 2014.It was
announced to be the last version to natively support OLE DB and instead to prefer
ODBC for native connectivity.
SQL Server allows multiple clients to use the same database concurrently. As
such, it needs to control concurrent access to shared data, to ensure data integrity
when multiple clients update the same data, or clients attempt to read data that is in
the process of being changed by another client. SQL Server provides two modes of
concurrency control: pessimistic concurrency and optimistic concurrency. When
pessimistic concurrency control is being used, SQL Server controls concurrent access
by using locks. Locks can be either shared or exclusive. Exclusive lock grants the user
exclusive access to the datano other user can access the data as long as the lock is
held. Shared locks are used when some data is being readmultiple users can read
from data locked with a shared lock, but not acquire an exclusive lock. The latter
would have to wait for all shared locks to be released. Locks can be applied on
different levels of granularityon entire tables, pages, or even on a per-row basis on
tables.
SQL Server also provides the optimistic concurrency control mechanism,
which is similar to the multisession concurrency control used in other databases.
Login Page
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace Smart_RTO
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Login ());
// Application.Run(new Server2());
}
}
}
Vehicle registration
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
// Namespaces for Database
using System.Data.SqlClient;
using System.Configuration;
namespace Smart_RTO
{
public partial class Form1 : Form
{
// SQLConnection Class is used create database connection
SqlConnection con = new
SqlConnection(ConfigurationManager.AppSettings["conn"]);
public Form1()
{
InitializeComponent();
}
void read_Vh_class()
{
VH_Class_list.Items.Clear();
con.Open();
SqlCommand com = new SqlCommand("select * from Vh_class",
con);// SqlCommand Class is used to write SQL commands
read_Vh_class();
}
private void VH_Class_list_SelectedIndexChanged(object sender,
EventArgs e)
{
read_Vh_MGF();
}
private void Vh_MGF_cmpn_SelectedIndexChanged(object sender,
EventArgs e)
{
read_Vh_model();
}
private void Models_SelectedIndexChanged(object sender, EventArgs e)
{
read_Vh_colors();
}
private void button1_Click(object sender, EventArgs e)
{
if (Chesis_no.Text == "")
}
if (Vh_MGF_cmpn.Text == "")
{
MessageBox.Show("Please Select Vehicle Mgf. Company");
return;
}
if (Models.Text == "")
{
}
if (Colors.Text == "")
{
}
if (Fuel.Text == "")
{
}
if (Owner_name.Text == "")
{
R.D.I.K &N.K.D COLLEGE BADNERA Page 25
try
{
string Vh_no = City_code.Text + " " + S_alpha_1.Text +
S_alpha_2.Text + " " + no.Text;
con.Open();
SqlCommand com = new SqlCommand("insert into Vehicle_Details
values('" + Vh_no + "','" + Chesis_no.Text + "','" + Eng_no.Text + "','" +
VH_Class_list.Text + "','" + Vh_MGF_cmpn.Text + "','" + Models.Text + "','" +
Colors.Text + "','" + Fuel.Text + "','" + Owner_name.Text + "','" + SWD.Text +
"','" + Address.Text + "')", con);
com.ExecuteNonQuery(); // ExecuteNonQuery() methode is used to
fire insert/update/delete command
com.Dispose();
con.Close();
MessageBox.Show("Information Saved Successfully");
clear_all();
}
{
if (ex.Message.Contains("vhno_unique"))
{
if (ex.Message.Contains("vhch_unique"))
{
Exist");
}
if (ex.Message.Contains("vhen_unique"))
{
Exist");
}
}
con.Close();
this.Hide();
}
private void button3_Click(object sender, EventArgs e)
{
}
clear_all();
}
SqlConnection("server=SQL5019.Smarterasp.net;uid=DB_9E5436_smartrto_a
dmin;pwd=smartrto;database=DB_9E5436_smartrto");
SqlConnection con = new
SqlConnection("server=smartrto.mssql.somee.com;uid=vikramrawale_SQLLogi
n_1;pwd=cij6nkxp7u;database=smartrto");
public Server2()
{
InitializeComponent();
con.Open();
con
SqlConnection(ConfigurationManager.AppSettings["conn"]);
string query;
public Add_FIR()
{
InitializeComponent();
}
private void Add_FIR_Load(object sender, EventArgs e)
{
tDate.Text = DateTime.Now.ToShortDateString();
Read_FIR_No();
}
void Read_FIR_No()
{
try
new
else
{
FIRNo.Text = "1";
}
rd.Close();
com.Dispose();
con.Close();
}
catch (Exception ee)
{ con.Close();
FIRNo.Text = "1";
}
}
private void tabPage1_Click(object sender, EventArgs e)
{
}
private void pictureBox1_Click(object sender, EventArgs e)
{
if (no.Text == "")
{
MessageBox.Show("Please Enter Vehicle Number");
no.Focus();
return;
R.D.I.K &N.K.D COLLEGE BADNERA Page 30
"select
from
Vehicle_Details
Engine_no='"+Engine_no.Text+"'";
Read_Vh_Details();
}
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text == "")
{
MessageBox.Show("Please Enter Complainer Name");
textBox1.Focus();
return;
R.D.I.K &N.K.D COLLEGE BADNERA Page 32
where
if (textBox4.Text == "")
{
MessageBox.Show("Please Enter Mobile Number");
textBox4.Focus();
return;
con.Open();
try
{
SqlCommand com = new SqlCommand("insert into FIR values(" +
if (textBox10.Text == "")
{
con.Open();
SqlDataAdapter adp = new SqlDataAdapter("select
con.Open();
SqlDataAdapter adp = new SqlDataAdapter("select * from FIR where
void
dataGridView1_CellClick(object
DataGridViewCellEventArgs e)
{
int i = e.RowIndex;//get the Row Index
FIR_Details obj = new FIR_Details();
DataGridViewRow row = dataGridView1.Rows[i];
// MessageBox.Show(row.Cells[4].Value.ToString());
obj.FIRNo.Text = row.Cells[0].Value.ToString();
obj.label2.Text = row.Cells[4].Value.ToString();
obj.Show();
obj.Focus();
}
private void button2_Click(object sender, EventArgs e)
{
textBox1.Clear();
textBox2.Clear();
textBox3.Clear();
textBox4.Clear();
vh_class.Clear();
vh_mfg.Clear();
vh_model.Clear();
vh_color.Clear();
vh_owner.Clear();
vh_fuel.Clear();
vh_owner.Clear();
vh_swd.Clear();
Vh_ownerAdd.Clear();
no.Clear();
Chesis_no.Clear();
Engine_no.Clear();
}
}
}
sender,
System Design
Conclusion
This Vehicle Identification System has huge prospects for implementation
and research. It has a scope to emerge as a collaborated project that will be useful at
the national level.
By using vehicle identification system we can search and register vehicle any
where in the world .
The mobile app of the system I very useful for remote location office and
traffic police where a computer system is not available and it is also a cheapest
method for identifying and verifying system owner and information regarding vehicle
In FIR part of system we can find any pending police complaints related to
vehicle and can take proper action on owner of vehicle
The successful implementations must take following points into account1. A comprehensive plan for managing the first issuance of the profile should
involve as few errors as possible to reduce cost.
2. A comprehensive plan should be made for the entire information system structure.
3. An assessment of the efficiency of system operations should be checked from time
to time.
4. A marketing project plan need to be chalked out.
5. Integration testing and acceptance procedures need to be carry out to link new
system with present information network.
6. Smart Card application development should be taken into account.
Books:
1. Microsoft Visual C# Step By Step, Sharp John, PHI Publications
2. Professional C# 6 and .NET Core 1.0, Christian Nagel, Wrox
Publications
3. Programming In C# Third Edition, E. Balguruswamy, Tata McGrawHill Education
4. PhoneGaps beliefs, goals, and philosophy
5. Rolling Releases: How Apache Cordova becomes PhoneGap
6. PhoneGap, Cordova, and whats in a name?
Websites:
www.wikipaedia.org
www.tutorialspoint.com
www.scribd.com
www.nisg.org
www.howstuffworks.com
www.uk.gov.in
Content
1. Introduction......................................................
2. Flowchart.........................................................
3. ER-Diagram......................................................
4. Data Flow Diagram..........................................
5. Languages and Tools used...............................
6. Coding............................................................
7. Advantages of SMART RTO System...................
8. Conclusion......................................................
9. Future Scopes.................................................
10. References.....................................................