get_alarm_trend
get_alarm_trendAnalyzes alarm trends by day and type over a specified period, with optional filtering by alarm type and tag code to identify patterns.
Instructions
【📊 查询】告警趋势统计,按时间段查看告警数量和类型分布。
参数:
days: 统计天数(可选),默认 7
alarmType: 告警类型(可选),0-入侵 ~ 6-超速
tagCode: 标签编码(可选),按标签筛选
返回: 按日/按类型聚合的告警趋势数据
提示: days 范围 1-90。适合用于周报/月报分析。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | 统计天数,默认7 | |
| tagCode | No | 按标签编码筛选 | |
| alarmType | No | 告警类型: 0-入侵, 1-越界, 2-超限, 3-低位, 4-超时, 5-低电, 6-超速 |