⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 elevatorthread.h

📁 电梯仿真
💻 H
字号:
#pragma once
// CElevatorThread
#include "ElevatorControl.h"
#include "ElevatorsDlg.h"
using namespace std;

static CEvent g_event;
class CElevatorControl;
#ifndef  ELEVATORTHREAD_H
#define  ELEVATORTHREAD_H
class CElevatorThread : public CWinThread
{
	DECLARE_DYNCREATE(CElevatorThread)

protected:
	CElevatorThread();           // 动态创建所使用的受保护的构造函数
	virtual ~CElevatorThread();

public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();


public:
	int Elevator_ID;
	int Lift_State;
	int Current_Floor;
	BOOL restart;
	BOOL pop;
	CString ID;
	CElevatorControl* Dlg_Pop;
	CElevatorsDlg* pMainWnd;
	int last_state;

    void Add_To_Queue(int,int,bool);
	void PopDlg(void);
	 void On_Bk_Buttons(UINT);

protected:
	DECLARE_MESSAGE_MAP()
};
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -