海康设备对接单独拆分

This commit is contained in:
lxj
2025-08-20 17:57:09 +08:00
parent d5d8b80f49
commit 62d9a21627
38 changed files with 215 additions and 13088 deletions

View File

@@ -152,6 +152,13 @@ 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;