Object Oriented Programming Assignment One

GitHub


Overview

  • Due to the completion of similar work during the winter vacation, this code is inherited from the code of the winter vacation
  • Since DevC++ 5.2.0.3 is not as comprehensive as VS2017 Community, code writing and class diagram generation use VS2017 Community
  • The elevator class is a mechanical structure class of an elevator, which can feed back the status, move up and down, and open (get) and close (out) doors.
  • The control_table class has the function of control, can control the elevator class, and easily add control methods
  • The passenger structure defines the passenger and the attributes that the passenger has
  • Problem: The elevator operation algorithm and scheduling are independent of the class. Many methods and functions are the product of process-oriented thinking. The object-oriented effect is not good. There may be problems in the algorithm and implementation. Improvement is required. Some software use problems are solved.

Class Diagram

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324635141&siteId=291194637