Преглед на файлове

更新字段检测到通道

zhangdongming преди 4 месеца
родител
ревизия
eeb94cc402
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Controller/DetectControllerV2.py

+ 1 - 1
Controller/DetectControllerV2.py

@@ -563,7 +563,7 @@ class DetectControllerViewV2(View):
                     equipment_info['ai_event_type_list'] = list(map(int, str(event_type)))
                 if EquipmentInfoService.is_combo_tag(event_type, event_tag):
                     equipment_info['ai_event_type_list'] += EquipmentInfoService.get_combo_types(event_type, event_tag)
-
+                equipment_info['alarm'] = 'Motion \tChannel:{channel}'.format(channel=channel)
                 res.append(equipment_info)
             return response.json(0, {'datas': res, 'count': count})
         except Exception as e: