Skip to content

Iteration #2

Choose a tag to compare

@Samimnif Samimnif released this 24 Feb 18:16
· 75 commits to main since this release

Description:

This project contains 14 java classes, 1 UML diagram, 1 sequence diagram, 1 State machine diagram and 1 ReadMe.txt file.
In this deliverable, we added state machines for the scheduler and the elevator subsystems.

The Project is made up of one file:
Scheduler.java A single Java script
UnitTests.java A single Java script
FloorSubSystem.java A single Java script
Job.java A single Java script
Button.java A single Java script
Door.java A single Java script
Elevator.java A single Java script
ElevatorSubsystem.java A single Java script
Floor.java A single Java script
Main.java A single Java script
Lamp.java A single Java script
Motor.java A single Java script
SchedulerStateMachine.java A single Java script
ElevatorSubsystemStateMachine.java A single Java script
UML diagram A single image of a UML diagram
Sequence diagram A single image of a UML diagram
State machine diagram A single image of a State machine diagram

Installation:

To be able to run the program, you should have Java 15.0.0 or later installed on your
computer.

Usage:

Scheduler.java: This class is the communication channel between the Elevator and the floor subsystem.
FloorSubSystem.java: This class represents the floor subsystem, which sends and receives input to the scheduler.
Job.java: The Job class takes the input parameters that the elevator has.
Button.java: This class represents the button in the Elevator.
Door.java: This class represents the elevator doors, which has a functionality of opening and closing.
Elevator.java: This class collects all the functionalities of the elevator including the buttons, motor, lamp, and door.
ElevatorSubsystem.java: This class represents the Elevator subsystem, which sends and receives input to the scheduler.
Lamp.java:This class performs the functionality of the Elevator lamp, which is used by the Elevator Buttons.
Motor.java: This class performs the functionality of the Elevator motor.
ElevatorSubsystemStateMachine.java: This class contains the functionality of the Elevator system State machine.
SchedulerStateMachine: This class contains the functionality of the Scheduler system State machine.

Credits:

Sami Mnif:SchedulerStateMachine, ElevatorSubsystemStateMachine, UML diagram
Jalal Mourad:SchedulerStateMachine, ElevatorSubsystemStateMachine, README.txt, State machine diagram
Omar Hamzat:SchedulerStateMachine, ElevatorSubsystemStateMachine, Sequence diagram
Muaadh Ali:SchedulerStateMachine, ElevatorSubsystemStateMachine
Jordan Bayne:SchedulerStateMachine, ElevatorSubsystemStateMachine

Copyright 2024 Jalal Mourad, Sami Mnif, Omar Hamzat, Jordan Bayne, Muaadh Ali