ASSIGNMENT ONE: CONTROL AN ELEVATOR – A C# PROJECT
ASSIGNMENT ONE:
CONTROL AN ELEVATOR – A C# PROJECT
Aim
This assignment aims to develop students’ capabilities and skills of solving real-world problems with C# programming language.
Task description:
The simple version of the elevator is illustrated below:
Task 1: To create a GUI which contains
· Two request buttons corresponding to the two floors, respectively
· One control panel with two buttons and a display window
· Two display areas that display the status of the elevator, i.e. which floor the elevator currently stays, one is of each floor
· A log button
Task 2: To create a control program that processes the events published by the GUI. That is,
· When any request button is pressed,
o the elevator moves to the corresponding floor
o then the display areas and the display window on the control panel show the corresponding floor number at the same time
· When the floor number buttons on the control panel are pressed,
o the elevator moves to the corresponding floor
o then the display areas and the display window on the control panel show the corresponding floor number at the same time
Task 3: To implement a program to animate the events described in Task 2
Task 4: To create a log which record all operations and the corresponding status of the elevator and the time information in a MS Access database
Task 5: To show the log on GUI
Task 6: To integrate the programs developed in Tasks 1 to 5
Task 7: To write a report which should have the following sections: aim, task description, design, programs and comments, and testing results.
The entire C# project including all folders and files, and the DB which should be saved in bin->debug folder, and saved as .zip file
2017-11-04
This assignment aims to develop students’ capabilities and skills of solving real-world problems with C# programming language.