GAD Microproject

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Department of Computer Science and Engineering

Shri Sai Institute of Technology, Aurangabad


(2023-2024)
Subject:- GAD
A Project Report
On
“Traffic Signal control Design ”
Submitted by :-
Sujal Sanjay Sonawane {2215420044}
Yash Kailash Puse {221542055}

In partial fulfilment for the award of


Diploma in
Computer Science and Engineering

MAHARASHTRA STATE BOARD OF TECHNICAL


EDUCATION (MSBTE), MUMBAI, INDIA

CERTIFICATE
This is certified that, the project report entitled “Traffic Signal control Design ”
Submitted by Sujal Sanjay Sonawane {Enroll. No. 2215420044}, Yash Kailash puse
{Enroll. No. 2215420055} Has completed as per the requirement of Maharashtra
State Board of Technical Education in partial fulfilment of Diploma in Computer
Science and Engineering.

Place: Aurangabad
Data: / /

Prof. Gaikwad V.M. Sign Sign


HOD-CW External Examiner Subject Teacher

Prof. Mr. P.S. TAYDE


Principal
Shri Sai Institute of Technology (Polytechnic),
Aurangabad

DECLARATION

We hereby declare that we have performed, completed and written the project
entitled “Traffic Signal Control Design”. It has not previously submitted for the
basis of the award of any other degree or diploma or other similar title of his for
any other diploma/examining body or university to the best of knowledge and
belief.

Place: Aurangabad
Date: / /

Sujal Sonawane
{Enroll. No. 2115420044}
Yash Kailash Puse
{Enroll. No. 2215420055}
INDEX
Sr. No. Content Page no.
1 About project
2 code
3 Output
ABOUT PROJECT

In this microproject we have created traffic light with timer of 10 sec we had used
3 images of light. So displaying 1 image and hiding 2 of images using Visible =
False till timer runs out at 10 sec using Timer.Interval
CODE

Imports System.Reflection.Emit

Public class traffic


Private Sub Timer1_TicK(sender As Object , e As EventArgs ) Handles
Timer1.Tick
If PictureBox1.Visible Then
picturebox1.Visible = False
PictureBox2.Visible=True
PictureBox3.Visible=False

If PictureBox2.Visible = True Then


Label1.ForeColor = Color.Yellow
Label1.Text = "WAIT"
End if

Elself PictureBox2.Visible Then


PictureBox1.Visible = True
PictureBox2.Visible = False
PictureBox3.Visible = False
if picturebox1.visible = True Then
Label1.ForeColor = Color.Red
Label.Text =”STOP”

End if
End if
End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.load
Timer.Enabled = True
Timer1.Interval = 10000
PictureBox1.Visible = True
PictureBox2.Visible = False
PictureBox3.Visible = False
End Sub
End Class
Output

You might also like