文件名称:TelephoneServiceSystem
-
所属分类:
- 标签属性:
- 上传时间:2015-11-26
-
文件大小:2.22mb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一个模拟时钟提供接听电话服务的时间(以分钟计),然后这个时钟将循环地自增1(分钟),直到到达指定的时间为止。
在时钟的每个“时刻”,就会
——执行一次检查来看看当前电话的服务是否已经完成,
如果是,这个电话从电话队列中删除,模拟服务将从队列中取出下一个电话(如果有)继续开始。
——同时还需要执行一个检查来判断是否有一个新的电话到达,
如果有将其到达的时间记录下来,并为其产生一个随机服务时间,这个服务时间也被记录下来,然后将这个电话放入电话队列中,
当客户服务人员空闲时,按照先来先服务的方式处理这个队列。
当时钟到达指定时间时,不会再接听新电话,但是服务将继续,直到队列中所有电话得到处理为止。
-An analog clock provides the time to receive a telephone service (in a minute), and then the clock will be automatically added to 1 (minutes) until the time is reached.
At each moment of the clock
- perform a check to see if the current phone service has been completed,
If so, the phone is removed the phone queue, and the analog service will be removed the queue for the next phone (if it is) to continue.
- at the same time, a check is needed to determine if there is a new phone call,
If you have the time to get to the time, and generate a random service time, the service time is also recorded, and then put the phone into the phone queue,
When the customer service staff is free, the queue is processed according to the first service.
When the clock reaches the specified time, the new phone will not be answered, but the service will continue until all the phone calls in the queue to be processed.
在时钟的每个“时刻”,就会
——执行一次检查来看看当前电话的服务是否已经完成,
如果是,这个电话从电话队列中删除,模拟服务将从队列中取出下一个电话(如果有)继续开始。
——同时还需要执行一个检查来判断是否有一个新的电话到达,
如果有将其到达的时间记录下来,并为其产生一个随机服务时间,这个服务时间也被记录下来,然后将这个电话放入电话队列中,
当客户服务人员空闲时,按照先来先服务的方式处理这个队列。
当时钟到达指定时间时,不会再接听新电话,但是服务将继续,直到队列中所有电话得到处理为止。
-An analog clock provides the time to receive a telephone service (in a minute), and then the clock will be automatically added to 1 (minutes) until the time is reached.
At each moment of the clock
- perform a check to see if the current phone service has been completed,
If so, the phone is removed the phone queue, and the analog service will be removed the queue for the next phone (if it is) to continue.
- at the same time, a check is needed to determine if there is a new phone call,
If you have the time to get to the time, and generate a random service time, the service time is also recorded, and then put the phone into the phone queue,
When the customer service staff is free, the queue is processed according to the first service.
When the clock reaches the specified time, the new phone will not be answered, but the service will continue until all the phone calls in the queue to be processed.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TelephoneServiceSystem/TelephoneServiceSystem.sdf
TelephoneServiceSystem/TelephoneServiceSystem.sln
TelephoneServiceSystem/TelephoneServiceSystem.v12.suo
TelephoneServiceSystem/.vs/TelephoneServiceSystem/v14/.suo
TelephoneServiceSystem/Debug/TelephoneServiceSystem.exe
TelephoneServiceSystem/Debug/TelephoneServiceSystem.ilk
TelephoneServiceSystem/Debug/TelephoneServiceSystem.pdb
TelephoneServiceSystem/Debug/.vs/TelephoneServiceSystem/v14/.suo
TelephoneServiceSystem/TelephoneServiceSystem/queue.cpp
TelephoneServiceSystem/TelephoneServiceSystem/queue.h
TelephoneServiceSystem/TelephoneServiceSystem/TelephoneServiceSystem.vcxproj
TelephoneServiceSystem/TelephoneServiceSystem/TelephoneServiceSystem.vcxproj.filters
TelephoneServiceSystem/TelephoneServiceSystem/Telephone_Service.cpp
TelephoneServiceSystem/TelephoneServiceSystem/Debug/queue.obj
TelephoneServiceSystem/TelephoneServiceSystem/Debug/TelephoneServiceSystem.log
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephone_Service.obj
TelephoneServiceSystem/TelephoneServiceSystem/Debug/vc120.idb
TelephoneServiceSystem/TelephoneServiceSystem/Debug/vc120.pdb
TelephoneServiceSystem/TelephoneServiceSystem/Debug/vc140.idb
TelephoneServiceSystem/TelephoneServiceSystem/Debug/vc140.pdb
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/cl.command.1.tlog
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/CL.read.1.tlog
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/CL.write.1.tlog
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/link.command.1.tlog
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/link.read.1.tlog
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/link.write.1.tlog
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/TelephoneServiceSystem.lastbuildstate
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/unsuccessfulbuild
TelephoneServiceSystem/Debug/.vs/TelephoneServiceSystem/v14
TelephoneServiceSystem/.vs/TelephoneServiceSystem/v14
TelephoneServiceSystem/Debug/.vs/TelephoneServiceSystem
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog
TelephoneServiceSystem/.vs/TelephoneServiceSystem
TelephoneServiceSystem/Debug/.vs
TelephoneServiceSystem/TelephoneServiceSystem/Debug
TelephoneServiceSystem/.vs
TelephoneServiceSystem/Debug
TelephoneServiceSystem/TelephoneServiceSystem
TelephoneServiceSystem
TelephoneServiceSystem/TelephoneServiceSystem.sln
TelephoneServiceSystem/TelephoneServiceSystem.v12.suo
TelephoneServiceSystem/.vs/TelephoneServiceSystem/v14/.suo
TelephoneServiceSystem/Debug/TelephoneServiceSystem.exe
TelephoneServiceSystem/Debug/TelephoneServiceSystem.ilk
TelephoneServiceSystem/Debug/TelephoneServiceSystem.pdb
TelephoneServiceSystem/Debug/.vs/TelephoneServiceSystem/v14/.suo
TelephoneServiceSystem/TelephoneServiceSystem/queue.cpp
TelephoneServiceSystem/TelephoneServiceSystem/queue.h
TelephoneServiceSystem/TelephoneServiceSystem/TelephoneServiceSystem.vcxproj
TelephoneServiceSystem/TelephoneServiceSystem/TelephoneServiceSystem.vcxproj.filters
TelephoneServiceSystem/TelephoneServiceSystem/Telephone_Service.cpp
TelephoneServiceSystem/TelephoneServiceSystem/Debug/queue.obj
TelephoneServiceSystem/TelephoneServiceSystem/Debug/TelephoneServiceSystem.log
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephone_Service.obj
TelephoneServiceSystem/TelephoneServiceSystem/Debug/vc120.idb
TelephoneServiceSystem/TelephoneServiceSystem/Debug/vc120.pdb
TelephoneServiceSystem/TelephoneServiceSystem/Debug/vc140.idb
TelephoneServiceSystem/TelephoneServiceSystem/Debug/vc140.pdb
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/cl.command.1.tlog
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/CL.read.1.tlog
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/CL.write.1.tlog
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/link.command.1.tlog
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/link.read.1.tlog
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/link.write.1.tlog
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/TelephoneServiceSystem.lastbuildstate
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog/unsuccessfulbuild
TelephoneServiceSystem/Debug/.vs/TelephoneServiceSystem/v14
TelephoneServiceSystem/.vs/TelephoneServiceSystem/v14
TelephoneServiceSystem/Debug/.vs/TelephoneServiceSystem
TelephoneServiceSystem/TelephoneServiceSystem/Debug/Telephon.BD94896D.tlog
TelephoneServiceSystem/.vs/TelephoneServiceSystem
TelephoneServiceSystem/Debug/.vs
TelephoneServiceSystem/TelephoneServiceSystem/Debug
TelephoneServiceSystem/.vs
TelephoneServiceSystem/Debug
TelephoneServiceSystem/TelephoneServiceSystem
TelephoneServiceSystem
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.