From 8eb1b6fbcca7c898354ff862941b25000e224808 Mon Sep 17 00:00:00 2001 From: HuangXin Date: Thu, 21 Jan 2021 11:01:33 +0800 Subject: [PATCH] =?UTF-8?q?OCT=20REM:=201.=20=E6=8F=90=E5=89=8D=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E8=BF=AA=E6=99=AE=E8=AE=BE=E5=A4=87=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=90=8C=E6=AD=A5=E7=BC=93=E5=AD=98=EF=BC=8C=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dispose/ability/impl/DpTechBypassAbilityImpl.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java b/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java index 67810caa..28d5a712 100644 --- a/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java +++ b/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java @@ -63,7 +63,11 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl { /** * The Dp bypass manager. */ - private DpBypassManager dpBypassManager; + private DpBypassManager dpBypassManager = DpBypassManager.builder() + .protectObject(new Hashtable<>()) + .protectStrategy(new Hashtable<>()) + .tractionStrategyName(new Hashtable<>()) + .build(); /** * The Timer cnt. */ @@ -726,11 +730,6 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl { */ @Override public void initDeviceEnv(String urlPath, String username, String password) { - dpBypassManager = DpBypassManager.builder() - .protectObject(new Hashtable<>()) - .protectStrategy(new Hashtable<>()) - .tractionStrategyName(new Hashtable<>()) - .build(); super.initDeviceEnv(urlPath, username, password); // 获取所有清洗设备