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