文件名称:elevator
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:632.27kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
核心部分为电梯调度控制台。控制台拥有电梯状态及电梯工作任务队列同时负责电梯任务的分配。任务分为二种,外部按钮任务和内部按钮任务。
外部按钮任务需要先寻找最佳来执行这项任务的电梯,根据任务和电梯当前的运行状态来判断,又有以下四类:1、电梯同向可以执行;2、电梯空闲;3、电梯逆向;4、电梯同向不可执行。判断顺序即为1、2、3、4。判断任 务属于哪一种类型,按照该类型特点插入任务队列。
内部按钮已经制定执行电梯,因此需判断执行方向后插入队列即可。
当警报按钮按下时候,清空所有队列任务,等待救援……
共有5个线程函数负责从任务队列中接收任务并且执行,主线程负责窗口消息的处理。
-Dispatch console for the elevator core. Console has a lift queue status and tasks of the elevator lift is also responsible for the allocation of tasks. Task is divided into two kinds, external and internal button mission button task.
Tasks need external button to perform this task to find the best elevator, the elevator according to the task and to determine the current operating state, have the following four categories: 1, the elevator can perform the same direction 2, the elevator is idle 3, lift reverse 4, the elevator in the same direction can not be executed. Shall determine the order of 1,2,3,4. Task is to determine what type, according to the types of features into the task queue.
Implementation has been developed within the elevator button, so to be inserted into the queue to determine the direction to the Executive.
When the alarm button is pressed when the queue is empty of all tasks, waiting for rescue ... ...
Function is responsible for a total of five threads
外部按钮任务需要先寻找最佳来执行这项任务的电梯,根据任务和电梯当前的运行状态来判断,又有以下四类:1、电梯同向可以执行;2、电梯空闲;3、电梯逆向;4、电梯同向不可执行。判断顺序即为1、2、3、4。判断任 务属于哪一种类型,按照该类型特点插入任务队列。
内部按钮已经制定执行电梯,因此需判断执行方向后插入队列即可。
当警报按钮按下时候,清空所有队列任务,等待救援……
共有5个线程函数负责从任务队列中接收任务并且执行,主线程负责窗口消息的处理。
-Dispatch console for the elevator core. Console has a lift queue status and tasks of the elevator lift is also responsible for the allocation of tasks. Task is divided into two kinds, external and internal button mission button task.
Tasks need external button to perform this task to find the best elevator, the elevator according to the task and to determine the current operating state, have the following four categories: 1, the elevator can perform the same direction 2, the elevator is idle 3, lift reverse 4, the elevator in the same direction can not be executed. Shall determine the order of 1,2,3,4. Task is to determine what type, according to the types of features into the task queue.
Implementation has been developed within the elevator button, so to be inserted into the queue to determine the direction to the Executive.
When the alarm button is pressed when the queue is empty of all tasks, waiting for rescue ... ...
Function is responsible for a total of five threads
(系统自动生成,下载前可以参看下载内容)
下载文件列表
电梯/Bin/Elev.exe
电梯/Doc/Readme.docx
电梯/Doc/Sample.jpg
电梯/Src/bitmap1.bmp
电梯/Src/Building.bmp
电梯/Src/ele.bmp
电梯/Src/Elev.cpp
电梯/Src/Elev.h
电梯/Src/Elev.ico
电梯/Src/Elev.rc
电梯/Src/Elev.rc2
电梯/Src/ElevDlg.cpp
电梯/Src/ElevDlg.h
电梯/Src/Lift.cpp
电梯/Src/Lift.h
电梯/Src/LiftConsole.cpp
电梯/Src/LiftConsole.h
电梯/Src/resource.h
电梯/Src/stdafx.cpp
电梯/Src/stdafx.h
电梯/Src/targetver.h
电梯/Src/无标题-1.bmp
电梯/Bin
电梯/Doc
电梯/Src
电梯
电梯/Doc/Readme.docx
电梯/Doc/Sample.jpg
电梯/Src/bitmap1.bmp
电梯/Src/Building.bmp
电梯/Src/ele.bmp
电梯/Src/Elev.cpp
电梯/Src/Elev.h
电梯/Src/Elev.ico
电梯/Src/Elev.rc
电梯/Src/Elev.rc2
电梯/Src/ElevDlg.cpp
电梯/Src/ElevDlg.h
电梯/Src/Lift.cpp
电梯/Src/Lift.h
电梯/Src/LiftConsole.cpp
电梯/Src/LiftConsole.h
电梯/Src/resource.h
电梯/Src/stdafx.cpp
电梯/Src/stdafx.h
电梯/Src/targetver.h
电梯/Src/无标题-1.bmp
电梯/Bin
电梯/Doc
电梯/Src
电梯
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.