#include using std::cout; using std::endl; #include"elevatorButton.h" #include "elevator.h" ElevatorButton::ElevatorBu…
elevator+controller 源代码
汇集 elevator+controller 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
// class Person definition #ifndef PERSON_H #define PERSON_H class Floor; class Elevator; class Person{ public: Pers…
#include using std::cout; using std::cin; using std::endl; #include"building.h" Building::Building() :floor1(Floor::F…
//Elevator class definition #ifndef ELEVATOR_H #define ELEVATOR_H #include "elevatorButton.h" #include"door.h" #include"bel…
#ifndef BUILDING_H #define BUILDING_H #include"elevator.h" #include"floor.h" #include"clock.h" #include"scheduler.h" cla…
#include using std::cout; using std::endl; #include "floorButton.h" #include "elevator.h" FloorButton::FloorButton(int …
#include using std::cout; using std::endl; #include "person.h" #include "floor.h" #include "elevator.h" int Person::pe…
//Door class definition #ifndef DOOR_H #define DOOR_H class Person; class Floor; class Elevator; //forward declaration …
#include using std::cout; using std::endl; #include "door.h" #include "person.h" #include "floor.h" #include "elevator.h…
//Floor class definition #ifndef FLOOR_H #define FLOOR_H #include "floorButton.h" #include "light.h" class Elevator; cla…