highing666 3 سال پیش
والد
کامیت
249fb24f89
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/controllers/equipment/vrf/basic.py

+ 2 - 2
app/controllers/equipment/vrf/basic.py

@@ -154,8 +154,8 @@ class VRFController1(VRFController):
         else:
             utc = arrow.utcnow()
             now = utc.to("Asia/Shanghai")
-            ago = now.shift(seconds=-290).format("HHmmSS")
-            later = now.shift(seconds=290).format("HHmmSS")
+            ago = now.shift(seconds=-150).format("HHmmSS")
+            later = now.shift(seconds=150).format("HHmmSS")
 
             if ago <= self.on_time <= later:
                 if not self.device.running_status: