Browse Source

优化推送文案

zhangdongming 7 tháng trước cách đây
mục cha
commit
ca1e2a3ae4
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  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'