如何设计一类具有打印,扫描,传真功能的打印机 [英] How to design a class of Printer with facilities to print, scan, fax
问题描述
我需要设计一个班级,其设施可以打印,扫描和传真:
它应该有处理启动,停止和暂停也计算每个打印计数,扫描计数和传真计数。
打印扫描传真
===== ===== =====
| | | | | | - > start()
| | | | | | - >停止()
===== ===== =====
| - > count()
| - > clear()
提前感谢
Hi,
I need to design a class with facilities of which can either print, scan and fax:
It should have handle to start, stop and pause also count each printed count, scanned count and fax count.
Print Scan Fax
===== ===== =====
| | | | | |->start()
| | | | | |->stop()
===== ===== =====
|--> count()
|--> clear()
thanks in advance
推荐答案
你需要了解统一建模语言。理解之后,您可以考虑一些工具。
你完成了:-O
You need to learn about Unified Modeling Language. After understanding it, you can consider some tools.
And you are done :-O
这篇关于如何设计一类具有打印,扫描,传真功能的打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!