工单告警完善

This commit is contained in:
mmc
2026-07-20 13:56:10 +08:00
parent 916b6ff58a
commit bd47f417ad
11 changed files with 137 additions and 47 deletions

View File

@@ -18,12 +18,11 @@ export const sourceTypeMap = {
};
export const alarmTypeMap = {
1: '设备故障',
2: '数据异常',
3: '通信中断',
4: '性能告警',
5: '安全告警',
6: '环境告警'
'UAV_FAULT': '无人机故障',
'MOWER_FAULT': '割草机故障',
'OTHER_DEVICE_FAULT': '其他设备故障',
'SERVER_FAILURE': '服务器故障',
'SYSTEM_ERROR': '系统错误'
};
export const alarmLevelConfig = {