|
|
cd21d65b85
|
feat: 增强 Schema 定义
- AlertCreate/Response: 新增 bind_id/device_id/bbox/level
- 新增 DeviceResponse/DeviceListResponse
- 新增 DeviceStatisticsResponse
- HealthResponse: 新增 mqtt/websocket_connections
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-02-05 13:57:15 +08:00 |
|
|
|
a5ecec7610
|
feat: 增强告警服务
- 新增 create_alert_from_mqtt 处理 MQTT 告警
- 新增 _determine_level 自动判断告警级别
- 新增 dispatch_alert 派发告警到工单
- 支持告警级别统计
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-02-05 13:57:05 +08:00 |
|
|
|
6861fb6653
|
feat: 新增核心服务模块
- mqtt_service: MQTT 订阅服务,对接 ai_edge 告警和心跳
- notification_service: WebSocket 实时推送服务
- device_service: 边缘设备心跳管理和离线检测
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-02-05 13:56:57 +08:00 |
|
|
|
9ea47938dc
|
feat: 增强数据模型
- Alert: 新增 bind_id/device_id/bbox/level/work_order_id
- 新增 WorkOrder 工单模型
- 新增 EdgeDevice 边缘设备模型
- 新增 AlertLevel/WorkOrderStatus/DeviceStatus 枚举
- 修复 SQLite 主键自增问题
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-02-05 13:56:48 +08:00 |
|
|
|
78d147b7da
|
feat: 新增 MQTT 配置支持
- 新增 MQTTConfig 配置类
- 支持 broker_host/port/client_id 等配置
- 支持环境变量覆盖配置
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-02-05 13:56:39 +08:00 |
|
|
|
baa895a6f1
|
feat: 初始化告警平台后端项目
- 创建 FastAPI 项目结构
- 实现告警数据模型(SQLAlchemy)
- 实现 multipart/form-data 告警接收接口
- 实现阿里云 OSS 图片上传模块
- 实现告警查询和处理 API
- 实现异步大模型分析模块
|
2026-02-02 09:40:02 +08:00 |
|