文件名称:RunPool
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 1014byte
- 下载次数:
- 0次
- 提 供 者:
- b***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
需求描述:
南水北调工程东线江苏江阴至山东济宁之间,地势北高南低,沿途需要建立一系列大型抽水泵站进行梯级抽水。通常每两个泵站之间需要建设一座水库作为中转。低处泵站将水抽到中转水库,再由高处泵站向更高的中转水库抽水。设有泵站A,B和中转水库C,泵站设有一定数量的抽水机,水库有一定容量,当水位高于允许最高水位,禁止低处泵站注水;当水位低于允许最低水位,禁止高处泵站抽水。
请用面向对象方法设计一个仿真程序,要求:
1, 两座泵站在随机时间,以随机时间长度,随机台抽水机抽水或注水
2, 水库根据自身容量允许或禁止泵站抽水,以保证自身处于安全水位。
3, 泵站即使在允许抽水/注水条件下,依然可以根据自身状态(如高/低处水库水位情况)选择抽水/注水,由于只考虑两个泵站一个水库,此功能可由随机数实现。
刚学java,写的比较业余,请高手指点!-demand Descr iption : South-East Jiangyin, Jiangsu and Shandong Jining between North South topography low, along the need to establish a series of major steps Pumping Station for pumping. Usually, two pumping stations between the need to build a reservoir as a relay station. Low water pumping station will be able to get into the interim reservoirs, pumping stations by the height of the transit to a higher reservoir pumping. Pumping Station with A, B and C interim reservoir and pumping stations with a certain number of pumps, reservoirs have a certain capacity, When the water level higher than the maximum permitted level, prohibiting a low water injection pump station; When the water level below the allowed minimum level, Prohibition height pumping station pumping. Please use the object-orie
南水北调工程东线江苏江阴至山东济宁之间,地势北高南低,沿途需要建立一系列大型抽水泵站进行梯级抽水。通常每两个泵站之间需要建设一座水库作为中转。低处泵站将水抽到中转水库,再由高处泵站向更高的中转水库抽水。设有泵站A,B和中转水库C,泵站设有一定数量的抽水机,水库有一定容量,当水位高于允许最高水位,禁止低处泵站注水;当水位低于允许最低水位,禁止高处泵站抽水。
请用面向对象方法设计一个仿真程序,要求:
1, 两座泵站在随机时间,以随机时间长度,随机台抽水机抽水或注水
2, 水库根据自身容量允许或禁止泵站抽水,以保证自身处于安全水位。
3, 泵站即使在允许抽水/注水条件下,依然可以根据自身状态(如高/低处水库水位情况)选择抽水/注水,由于只考虑两个泵站一个水库,此功能可由随机数实现。
刚学java,写的比较业余,请高手指点!-demand Descr iption : South-East Jiangyin, Jiangsu and Shandong Jining between North South topography low, along the need to establish a series of major steps Pumping Station for pumping. Usually, two pumping stations between the need to build a reservoir as a relay station. Low water pumping station will be able to get into the interim reservoirs, pumping stations by the height of the transit to a higher reservoir pumping. Pumping Station with A, B and C interim reservoir and pumping stations with a certain number of pumps, reservoirs have a certain capacity, When the water level higher than the maximum permitted level, prohibiting a low water injection pump station; When the water level below the allowed minimum level, Prohibition height pumping station pumping. Please use the object-orie
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 55593400runpool.rar 列表 RunPool.java