TRX 1 vuosi sitten
vanhempi
commit
9f34fee121

+ 4 - 1
src/main/java/com/zswl/dataservice/service/mqtt/DevicePingInfoService.java

@@ -127,7 +127,7 @@ public class DevicePingInfoService extends SuperService {
 
 
     /**
-     * 检查
+     * 检查设备的状态
      */
     public void checkDeviceState() {
 //        log.info("checkDeviceState: {}", DateUtils.paresTime(System.currentTimeMillis(), DateUtils.FORMAT_LONG));
@@ -163,6 +163,9 @@ public class DevicePingInfoService extends SuperService {
         }
     }
 
+    /**
+     * 定期检查网关的状态
+     */
     public void checkGateWayState() {
         List<GateWayInfo> list = gateWayInfoDao.findAll();
         if (ObjectUtils.isNotEmpty(list)) {