ソースを参照

新增算法小店类型,宠物、异响

zhangdongming 2 年 前
コミット
eef2e34ff1
1 ファイル変更4 行追加1 行削除
  1. 4 1
      Service/EquipmentInfoService.py

+ 4 - 1
Service/EquipmentInfoService.py

@@ -316,6 +316,9 @@ class EquipmentInfoService:
     def get_combo_types(cls, event_type):
     def get_combo_types(cls, event_type):
         """
         """
         获取设备算法组合类型
         获取设备算法组合类型
+        51:移动侦测,52:传感器报警,53:影像遗失,54:PIR,55:门磁报警,56:外部发报,57:人型报警(提示:有人出现),58:车型,59:宠物,60:人脸,61:异响,
+        0:代表空字符,702:摄像头休眠,703:摄像头唤醒,704:电量过低
+        AWS AI识别 1:人形,2:车型,3:宠物,4:包裹。云端AI类型
         @param event_type:
         @param event_type:
         @return:
         @return:
         """
         """
@@ -324,7 +327,7 @@ class EquipmentInfoService:
             res_type = cls.is_type_exist(event_type)
             res_type = cls.is_type_exist(event_type)
             if res_type == 0:
             if res_type == 0:
                 return types
                 return types
-            combo_types = [51, 57, 58, 60]
+            combo_types = [51, 57, 58, 59, 60, 61]
             event_type = str(event_type)
             event_type = str(event_type)
             len_type = len(event_type)
             len_type = len(event_type)
             for i in range(0, len_type):
             for i in range(0, len_type):