海康设备对接单独拆分
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user