Skip to content

rtgfd157/ElevatorControllerProj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elevator Controller written in python:

system that managing N number of elevators.

run server ( Scroll down), server will manage all Elevators

send command using client ( Scroll down), client will pass commands from users

need to add:


  • floor functionality
  • make code prettier
  • better use of threads
  • more comments
  • ..........

UML UML2 UML3

python logging

https://realpython.com/python-logging/

server socket


python3 sockets/server_socket.py

python3 start_program.py 

client socket


prompt> s - shutdown

python3 sockets/client_skeleton.py  s

press on floor
prompt> <floor_up>/<floor_down:command string> <floor_number:number>

python3 sockets/client_skeleton.py  floor_up 5

press from inside of elevator
prompt> <el_button_press:command string> <elevator_number> <button_number>

python3  sockets/client_skeleton.py  el_button_press 5  4 

command for UML


pyreverse start_program.py elevatorClass.py floorsClass.py  sockets/client_skeleton.py sockets server_socket.py 

info
https://www.bogotobogo.com/python/Multithread/python_multithreading_Synchronization_Lock_Objects_Acquire_Release.php

About

elevator controller written in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages