parent
4887952386
commit
e1648c1203
src/main/java/com/dispose/ability/impl
|
@ -227,7 +227,6 @@ public class DpTechAbilityImpl implements DisposeAbility {
|
|||
@Override
|
||||
public boolean getDeviceLinkStatus() {
|
||||
return deviceLinkStatus;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -238,6 +237,7 @@ public class DpTechAbilityImpl implements DisposeAbility {
|
|||
// 获取防护对象接口调用成功认为设备心跳正常
|
||||
cleanTypePort.getAllProtectionObjectFromUMC().getProtectionObjectDataForService();
|
||||
deviceLinkStatus = true;
|
||||
return;
|
||||
} catch (Exception ex) {
|
||||
log.error(ex.getMessage());
|
||||
}
|
||||
|
|
|
@ -176,6 +176,8 @@ public class HaoHanAbilityImpl implements DisposeAbility {
|
|||
if (restfulInterface.getCleanTaskStatus(this.urlRootPath, -1) != null) {
|
||||
deviceLinkStatus = true;
|
||||
}
|
||||
|
||||
return;
|
||||
} catch (Exception ex) {
|
||||
log.error(ex.getMessage());
|
||||
}
|
||||
|
|
|
@ -312,6 +312,8 @@ public class HuaWeiAbilityImpl implements DisposeAbility {
|
|||
if (response.getStatus() == HttpServletResponse.SC_OK) {
|
||||
deviceLinkStatus = true;
|
||||
}
|
||||
|
||||
return;
|
||||
} catch (Exception ex) {
|
||||
log.error(ex.getMessage());
|
||||
}
|
||||
|
|
|
@ -347,6 +347,8 @@ public class PengXinAbilityImpl implements DisposeAbility {
|
|||
if (err == ErrorCode.ERR_OK) {
|
||||
deviceLinkStatus = true;
|
||||
}
|
||||
|
||||
return;
|
||||
} catch (Exception ex) {
|
||||
log.error(ex.getMessage());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue