软件需求规范文档
Software Requirements Specifications Document (SRS)编程
本文档参照IEEE Guide to Software Requirements Specifications (Std 830-1993). 本文档只用于定义软件的需求分析、功能和接口定义,不涉及软件的具体实现方法。ubuntu
项目名称:自动咖啡机浏览器
开发团队:华中科技大学RTCSD第三小组服务器
版本号:(1.0)架构
日期: (10/18/2017)app
本项目是华中科技大学2017年14级机械本科《实施控制软件设计》课程第四次做业,也是课程设计的做业内容。须要各小组组成开发团队进行协同合做。本小组成员以及分工以下:less
本文档用于指导自动咖啡机硬件及软件开发过程,与软件用户定义和明确软件的功能需求。本文档的目标读者为软件用户和软件开发项目组成员。electron
用户在咖啡机面板上选择本身想要喝的咖啡(美式、拿铁、卡布奇诺...)并按下开始按钮后,咖啡机开始按照设定的配方制做咖啡。tcp
主校区图书馆一楼大厅进门右侧就有一台自动咖啡机,支持联网付费,全自动咖啡现磨冲泡。支持多品种选择,价格从10元到30元不等。与本项目产品高度类似,可是外部无操做界面,所有由服务器经过移动端进行操做,远程控制咖啡机进行生产。编辑器
全自动咖啡机是整个咖啡机行业里发展最快的。从1999年GAGGIA发布了第一台能制做Espresso(意式浓缩咖啡)的全自动咖啡机,各个不一样的咖啡机厂商都在致力于研究开发,使得其功能不断的完善,已经有能加热牛奶并把它按比例配在咖啡里的高端机型面市。好的全自动咖啡机制做出来的咖啡彻底能够和商用专业机相媲美,而因其能自动磨豆且相对于专业机来讲价格又低不少,因此从问世以来便一直受到家庭及办公场所的青睐。
自动咖啡机能依靠机械电动磨粉、填充和烧煮咖啡,所有免除了手工的操做。或称全自动咖啡机,内部装有电子控制系统,用来控制磨豆粗细的调节,每杯的水量。
Automatic Coffee Machine (ACM??)
制做流程为:Feeder机构取一空杯放到传送带上,传送带把空杯送到龙头下,牛奶、糖浆、浓缩咖啡液和热水按照配方比例混合后装入空杯,传送带把满杯的咖啡送到用户取杯处,用户取走咖啡后,自动咖啡机能够继续响应面板上的按钮制做下一杯咖啡。
身体健康,手指无残疾现象。有喝咖啡的习惯,而且愿意接受现冲咖啡。
美式咖啡的原料就是沸水和咖啡粉,因此只须要Coffee 和 Water Part 正常工做便可。
参数:无
输出:美式清咖
拿铁的原料是咖啡粉,沸水,牛奶。因此只须要Coffee、Milk 和 Water Part 正常工做便可
参数:无
输出:拿铁咖啡
卡布奇诺的原料是咖啡粉,沸水,糖、牛奶。因此须要Coffee、Milk、Sugar 和 Water Part 正常工做方可运行。
参数:无
输出:卡布奇诺
因为实力有限,目前只规定了产品类型,具体的口味清淡暂时没法顾及
对于实时性的需求不大,反应时间控制在五秒内便可。生产过程不予考虑
后期添加产品类型的浓淡之分。本质上是添加了不一样的输入按钮。或者能够添加二级输入。须要扩展命令集。
按钮
I/O接口
在按钮被按下后,须要保存当前的输入。确保不会由于生产期间再次被按下按钮从而产生信号冲突。
不存在的。
要求生产过程当中不接受按钮的信号量,短暂屏蔽,生产完成后才能够接受新的输入。
STM3二、PLC可编程控制器
Matlab/Simulink物理建模以及代码模块生成、gcc-ubuntu总体代码生成
超文本咖啡壶控制协议(英文:Hyper Text Coffee Pot Control Protocol,HTCPCP)是一种用于控制、监测和诊断咖啡壶的协议。
Commands to control a coffee pot are sent from client to coffee
server using either the BREW or POST method, and a message body with
Content-Type set to "application/coffee-pot-command".
A coffee pot server MUST accept both the BREW and POST method
equivalently. However, the use of POST for causing actions to happen
is deprecated.
Coffee pots heat water using electronic mechanisms, so there is no
fire. Thus, no firewalls are necessary, and firewall control policy
is irrelevant. However, POST may be a trademark for coffee, and so
the BREW method has been added. The BREW method may be used with
other HTTP-based protocols (e.g., the Hyper Text Brewery Control
Protocol).
In HTTP, the GET method is used to mean "retrieve whatever
information (in the form of an entity) identified by the Request-
URI." If the Request-URI refers to a data-producing process, it is
the produced data which shall be returned as the entity in the
response and not the source text of the process, unless that text
happens to be the output of the process.
In HTCPCP, the resources associated with a coffee pot are physical,
and not information resources. The "data" for most coffee URIs
contain no caffeine.
If a cup of coffee is data, metadata about the brewed resource is
discovered using the PROPFIND method [WEBDAV].
When coffee is poured, and milk is offered, it is necessary for the holder of the recipient of milk to say "when" at the time when sufficient milk has been introduced into the coffee. For this purpose, the "WHEN" method has been added to HTCPCP. Enough? Say WHEN.