恢复任务模块服务器端配置
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 13m11s
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 13m11s
This commit is contained in:
@@ -3,6 +3,7 @@ package org.dromara.sis.dubbo;
|
||||
import cn.hutool.core.collection.CollUtil;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.dubbo.config.annotation.DubboService;
|
||||
import org.dromara.sis.api.RemoteHikSdkService;
|
||||
import org.dromara.sis.api.domain.RemoteSdkChannel;
|
||||
import org.dromara.sis.api.domain.RemoteSisDeviceManage;
|
||||
@@ -15,7 +16,7 @@ import java.util.List;
|
||||
|
||||
@Slf4j
|
||||
@RequiredArgsConstructor
|
||||
@Component
|
||||
@DubboService
|
||||
public class RemoteSdkServiceImpl implements RemoteHikSdkService {
|
||||
|
||||
private final HikApiService hikApiService;
|
||||
|
@@ -156,13 +156,6 @@ public class HikDeviceCheckStateTask {
|
||||
* @return 返回设备是否在线
|
||||
*/
|
||||
private boolean updateDeviceStatus(RemoteSisDeviceManage item) {
|
||||
Integer deviceType = item.getDeviceType();
|
||||
if (item.getDeviceType().equals(DeviceTypeEnum.IPC.getType())) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
// 调用设备登录验证次设备在线
|
||||
Boolean isLogin = remoteHikSdkService.deviceLogin(item);
|
||||
int onLineState = isLogin ? 1 : 0;
|
||||
|
Reference in New Issue
Block a user