@@ -23,7 +23,9 @@ public class CheckDeviceStateWork {
@Scheduled(fixedRate = 1000 * 15)
public void checkDeviceState() {
+ // 检测设备在线状态
devicePingInfoService.checkDeviceState();
+ // 检测网关在线状态
devicePingInfoService.checkGateWayState();
}