- docs/01 需求规格说明书:FR-01~FR-20 + NFR-01~NFR-10 - docs/02 概要设计:分层架构、模块清单、关键决策(含不引入数据库的理由) - include/shs/ 17 个头文件接口冻结(tools/header_check.sh 全通过) - README:快速开始、命令参考、网页接口一览、知识点索引 - scripts:build/test/run_cli/run_web/demo.txt/acceptance.sh - .idea 运行配置 5 个(CLI/网页/回放/测试/详细测试)
26 lines
419 B
Plaintext
26 lines
419 B
Plaintext
# 智能家居控制系统 —— 无人值守演示脚本(回放用)
|
|
# '#' 开头为注释;空行忽略。运行:./build/debug/smart_home --replay scripts/demo.txt
|
|
help
|
|
list
|
|
list 灯
|
|
power 1 on
|
|
dim 1 70
|
|
power 8 on
|
|
scene 回家
|
|
sensors
|
|
ac 2 24
|
|
scene 睡眠
|
|
schedule set 0 7 1
|
|
schedule set 0 9 2
|
|
schedule set 0 18 3
|
|
schedule set 0 23 4
|
|
schedule show
|
|
report
|
|
frame 1 2 1
|
|
frame 1 1 0
|
|
log 10
|
|
save
|
|
list
|
|
selftest
|
|
quit
|