项目 8 智慧校园管理平台:5 个任务的示例、自绘素材、WisdomCampus 数据库
- 示例 p8-t1…t5(代码逐个累加):主界面、校园环境界面、环境采集与分析(路灯手动 / 自动控制、 LED 推送、自动推送火情、7 天温度图表)、校园安防(入侵提示、摄像机方向、拍照入库)、历史图片 (按日期查询、左右切换),各有评分规则 - 按书补全参考工程里空着的"推送LED信息""自动控制",给"自动推送火情"绑定 CheckedChanged (书上第 23 步写成了 ch_autoLamp);任务 5 每次查询前清空 Keys - 素材:项目 8 的 20 多张图片全部自绘,名字和尺寸与教材一致(project8.py 生成 SVG, build-gallery.sh 渲染成 PNG;源文件移到 svg/) - 数据库 WisdomCampus 按教材的表结构建(EnvironmentData、SecurityData、Users),预置 7 天环境数据 - 测试:参考答案全部通过;没绑定"自动推送火情"、开灯换错背景图片时报出对应原因 - 文档:教材 8 个项目全部有示例,共 23 个 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b20db5721e
commit
65a1b3a81e
109 files changed
+7807
-9
No files matched your search
@@ -0,0 +1,79 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="716" viewBox="0 0 1440 716">
|
||||
|
||||
<defs><linearGradient id="sky" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#2b3d66"/><stop offset="1" stop-color="#e8a76b"/></linearGradient></defs>
|
||||
<rect width="1440" height="716" fill="url(#sky)"/>
|
||||
<circle cx="1180" cy="110" r="36" fill="#fff6c8"/>
|
||||
<rect x="80" y="220" width="560" height="330" fill="#e9d8bf"/>
|
||||
<rect x="72" y="206" width="576" height="16" fill="#b36b45"/>
|
||||
<rect x="97.6" y="238.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="177.6" y="238.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="257.6" y="238.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="337.6" y="238.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="417.6" y="238.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="497.6" y="238.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="577.6" y="238.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="97.6" y="298.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="177.6" y="298.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="257.6" y="298.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="337.6" y="298.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="417.6" y="298.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="497.6" y="298.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="577.6" y="298.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="97.6" y="358.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="177.6" y="358.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="257.6" y="358.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="337.6" y="358.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="417.6" y="358.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="497.6" y="358.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="577.6" y="358.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="97.6" y="418.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="177.6" y="418.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="257.6" y="418.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="337.6" y="418.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="417.6" y="418.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="497.6" y="418.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="577.6" y="418.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="97.6" y="478.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="177.6" y="478.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="257.6" y="478.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="337.6" y="478.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="417.6" y="478.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="497.6" y="478.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="577.6" y="478.0" width="44.8" height="33.0" fill="#ffd37a"/>
|
||||
<rect x="760" y="260" width="580" height="290" fill="#dcc7a8"/>
|
||||
<rect x="752" y="246" width="596" height="16" fill="#b36b45"/>
|
||||
<rect x="778.2" y="278.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="861.1" y="278.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="943.9" y="278.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1026.8" y="278.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1109.7" y="278.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1192.5" y="278.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1275.4" y="278.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="778.2" y="343.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="861.1" y="343.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="943.9" y="343.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1026.8" y="343.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1109.7" y="343.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1192.5" y="343.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1275.4" y="343.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="778.2" y="408.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="861.1" y="408.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="943.9" y="408.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1026.8" y="408.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1109.7" y="408.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1192.5" y="408.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1275.4" y="408.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="778.2" y="473.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="861.1" y="473.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="943.9" y="473.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1026.8" y="473.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1109.7" y="473.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1192.5" y="473.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="1275.4" y="473.0" width="46.4" height="35.8" fill="#ffd37a"/>
|
||||
<rect x="0" y="550" width="1440" height="40" fill="#7fb06a"/>
|
||||
<rect x="0" y="590" width="1440" height="126" fill="#5b6472"/>
|
||||
<g fill="#f8fafc"><rect x="30" y="648" width="70" height="8"/><rect x="170" y="648" width="70" height="8"/><rect x="310" y="648" width="70" height="8"/><rect x="450" y="648" width="70" height="8"/><rect x="590" y="648" width="70" height="8"/><rect x="730" y="648" width="70" height="8"/><rect x="870" y="648" width="70" height="8"/><rect x="1010" y="648" width="70" height="8"/><rect x="1150" y="648" width="70" height="8"/><rect x="1290" y="648" width="70" height="8"/><rect x="1430" y="648" width="70" height="8"/></g>
|
||||
<rect x="180" y="380" width="12" height="260" fill="#4b5563"/><path d="M186 386 Q186 356 226 356 H250" stroke="#4b5563" stroke-width="10" fill="none"/><rect x="236" y="348" width="44" height="16" rx="5" fill="#374151"/><path d="M240 364 L200 640 H320 L276 364 Z" fill="#fff3b0" opacity="0.35"/><ellipse cx="258" cy="366" rx="22" ry="7" fill="#fff8d0"/><rect x="520" y="380" width="12" height="260" fill="#4b5563"/><path d="M526 386 Q526 356 566 356 H590" stroke="#4b5563" stroke-width="10" fill="none"/><rect x="576" y="348" width="44" height="16" rx="5" fill="#374151"/><path d="M580 364 L540 640 H660 L616 364 Z" fill="#fff3b0" opacity="0.35"/><ellipse cx="598" cy="366" rx="22" ry="7" fill="#fff8d0"/><rect x="860" y="380" width="12" height="260" fill="#4b5563"/><path d="M866 386 Q866 356 906 356 H930" stroke="#4b5563" stroke-width="10" fill="none"/><rect x="916" y="348" width="44" height="16" rx="5" fill="#374151"/><path d="M920 364 L880 640 H1000 L956 364 Z" fill="#fff3b0" opacity="0.35"/><ellipse cx="938" cy="366" rx="22" ry="7" fill="#fff8d0"/><rect x="1200" y="380" width="12" height="260" fill="#4b5563"/><path d="M1206 386 Q1206 356 1246 356 H1270" stroke="#4b5563" stroke-width="10" fill="none"/><rect x="1256" y="348" width="44" height="16" rx="5" fill="#374151"/><path d="M1260 364 L1220 640 H1340 L1296 364 Z" fill="#fff3b0" opacity="0.35"/><ellipse cx="1278" cy="366" rx="22" ry="7" fill="#fff8d0"/>
|
||||
<rect x="695.2" y="560" width="9.600000000000001" height="48.0" fill="#7a5230"/><circle cx="700" cy="536.0" r="38.400000000000006" fill="#3f7f45"/><circle cx="674.4" cy="556.0" r="27.200000000000003" fill="#3f7f45"/><circle cx="725.6" cy="556.0" r="27.200000000000003" fill="#468c3e"/><rect x="1384.6" y="560" width="10.8" height="54.0" fill="#7a5230"/><circle cx="1390" cy="533.0" r="43.2" fill="#3f7f45"/><circle cx="1361.2" cy="555.5" r="30.6" fill="#3f7f45"/><circle cx="1418.8" cy="555.5" r="30.6" fill="#468c3e"/>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.5 KiB |
Reference in new issue
Block a user