#ifndef CELEVATOR_H #define CELEVATOR_H const int MostLayers = 100;class CElevator public:CElevator();/构造函数 CElevator(int uLayers, int lLayers);/构造函数CElevator(CElevator &myElevator);/拷贝构造函数void PressOuterButton(int direction, int floor);/电梯外部各楼层操作按钮void PressInnerDigitalButton(int floor);/电梯内部数字按钮void PressOpen_CloseButton(int operate);/电梯内部开合控制按钮void PressAlert();/电梯内部报警按钮void run();/电梯运行CElevator();/析构函数protected: void OpenElevator();/打开电梯void C