Sfoglia il codice sorgente

优化推送文案

zhangdongming 7 mesi fa
parent
commit
ca1e2a3ae4
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      Service/DevicePushService.py

+ 0 - 4
Service/DevicePushService.py

@@ -573,8 +573,6 @@ class DevicePushService:
                 msg_type = '有人徘徊'
             elif event_type == 65:
                 msg_type = '长时间无人出现'
-            elif event_type == 73:
-                msg_type = '检测到遮挡物'
 
             elif event_type == 1022:
                 msg_type = '有人按下门铃'
@@ -633,8 +631,6 @@ class DevicePushService:
                 msg_type = 'Loitering detected'
             elif event_type == 65:
                 msg_type = 'No appearance for a long time'
-            elif event_type == 73:
-                msg_type = 'Obstruction detected'
 
             elif event_type == 1022:
                 msg_type = 'Someone rang the doorbell'