文件名称:jinchengguanli

  • 所属分类:
  • 进程与线程
  • 资源属性:
  • [Java] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 688kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 卢**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

基本任务

某一层楼20层,有五部互联的电梯。基于线程思想,编写一个电梯调度程序。

功能描述

每个电梯里面应该有一些按键:数字键、关门键、开门键、上行键、下行键、报警键等。还应该有数码显示器来指示当前电梯的状态。

每层楼的每部电梯门口,应该有上行和下行按钮和当前电梯状态的数码显示器。

五部电梯门口的按钮是互联结的,即当一个电梯按钮按下去时,其他电梯的相应按钮也就同时点亮,表示也按下去了。

调度算法是根据这五部电梯的状态,寻找离当前楼层 最近的且和请求同方向的电梯给予响应。

所有电梯初始状态都在第一层。每个电梯如果在它的上层或者下层没有相应请求情况下,则应该在原地保持不动。

-Basic tasks of a floor 20 floors, with five interconnected elevators. Thread-based thinking, writing an elevator scheduler. Functional descr iption of each elevator there should be some buttons: the number keys, close the door key, door key, uplink key, down key, the alarm button and so on. It should also be a digital display to indicate the current state of the elevator. Each floor of each elevator door, there should be both upstream and downstream the elevator button and the current state of the digital display. Five elevator door button is connected end, that when a button is pressed the elevator, the other corresponding button on the elevator will also light that has at any longer. Scheduling algorithm is based on the status of the five elevators, looking for the nearest floor and away from the current request in the same direction of the elevator and give response. The initial state of all elevators in the first layer. Each elevator if the upper or lower in its case no correspondin
相关搜索: 电梯调度

(系统自动生成,下载前可以参看下载内容)

下载文件列表

例子\SourceCode\Lift.java

....\..........\LiftDemo.java

....\..........\....Image\1.gif

....\..........\.........\10.gif

....\..........\.........\11.gif

....\..........\.........\12.gif

....\..........\.........\13.gif

....\..........\.........\14.gif

....\..........\.........\15.gif

....\..........\.........\16.gif

....\..........\.........\17.gif

....\..........\.........\18.gif

....\..........\.........\19.gif

....\..........\.........\2.gif

....\..........\.........\20.gif

....\..........\.........\3.gif

....\..........\.........\4.gif

....\..........\.........\5.gif

....\..........\.........\6.gif

....\..........\.........\7.gif

....\..........\.........\8.gif

....\..........\.........\9.gif

....\..........\.........\alarm.gif

....\..........\.........\b1.gif

....\..........\.........\b10.gif

....\..........\.........\b11.gif

....\..........\.........\b12.gif

....\..........\.........\b13.gif

....\..........\.........\b14.gif

....\..........\.........\b15.gif

....\..........\.........\b16.gif

....\..........\.........\b17.gif

....\..........\.........\b18.gif

....\..........\.........\b19.gif

....\..........\.........\b2.gif

....\..........\.........\b20.gif

....\..........\.........\b3.gif

....\..........\.........\b4.gif

....\..........\.........\b5.gif

....\..........\.........\b6.gif

....\..........\.........\b7.gif

....\..........\.........\b8.gif

....\..........\.........\b9.gif

....\..........\.........\close.gif

....\..........\.........\down.gif

....\..........\.........\example1.png

....\..........\.........\example2.png

....\..........\.........\lift1.gif

....\..........\.........\lift2.gif

....\..........\.........\lift3.gif

....\..........\.........\lift4.gif

....\..........\.........\lift5.gif

....\..........\.........\liftb1.gif

....\..........\.........\liftb2.gif

....\..........\.........\liftb3.gif

....\..........\.........\liftb4.gif

....\..........\.........\liftb5.gif

....\..........\.........\open.gif

....\..........\.........\s1.gif

....\..........\.........\s10.gif

....\..........\.........\s11.gif

....\..........\.........\s12.gif

....\..........\.........\s13.gif

....\..........\.........\s14.gif

....\..........\.........\s15.gif

....\..........\.........\s16.gif

....\..........\.........\s17.gif

....\..........\.........\s18.gif

....\..........\.........\s19.gif

....\..........\.........\s2.gif

....\..........\.........\s20.gif

....\..........\.........\s3.gif

....\..........\.........\s4.gif

....\..........\.........\s5.gif

....\..........\.........\s6.gif

....\..........\.........\s7.gif

....\..........\.........\s8.gif

....\..........\.........\s9.gif

....\..........\.........\Thumbs.db

....\..........\.........\up.gif

....\..........\Task.class

....\可执行文件\.classpath

....\..........\.project

....\..........\Adjust.class

....\..........\CellRenderer.class

....\..........\Lift$1.class

....\..........\Lift$2.class

....\..........\Lift$3.class

....\..........\Lift$4.class

....\..........\Lift.class

....\..........\LiftDemo$1.class

....\..........\LiftDemo$2.class

....\..........\LiftDemo$3.class

....\..........\LiftDemo$4.class

....\..........\LiftDemo.class

....\..........\....Image\1.gif

....\..........\.........\10.gif

....\..........\.........\11.gif

....\..........\.........\12.gif

....\..........\.........\13.gif

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org