This commit is contained in:
2024-10-24 09:23:39 +08:00
parent 641c34b1b3
commit 16c005556f
36 changed files with 7780 additions and 0 deletions

34
SCLP/readme.md Normal file
View File

@@ -0,0 +1,34 @@
# 项目简介
> 智慧社区本地化平台 Smart Community Localization Platform基于python实现的平台后端
# 功能模块
* 内置信息导入
* 设备管理
* 住户管理
* 通行管理
* 智慧停车
# 数据表
* **brands** 可视对讲厂商信息表
- 初始化后只会进行更新不会进行增删
* **devices** 设备信息表
- 基本aiot设备信息接受边缘端注册、上线过程中保存的信息
* **devices_auth** 设备授权信息表
- 记录设备授权过程中的信息
* **devices_scope** 单元ID与实际设备关系表
- 在设备配置关联信息时插入,记录每一个单元权限下的所有设备
- 移除设备关联信息时,在完成设备端授权清除后会清除该表中的关系
* **parkinglots** 停车场信息表
- 在一张表中记录停车场、区域、通道、道闸的信息通过type字段进行区分
- 停车场id(id就是编号)\number(aiot设备ID)\name\factory_name\running_status(是否为null控制页面显示)
- 区域id\number\name\parkinglot_id\area_id(如果存在父区域的话为父区域ID)
- 通道id\number\name\parkinglot_id\area_id\channel_type
- 道闸id\number\name\parkinglot_id\area_id\channel_id\is_online\gate_status\running_status(工作状态)