From e0fac38b26845f25de479783e0c76cf12a5311e0 Mon Sep 17 00:00:00 2001 From: cl <418351270@qq.com> Date: 星期五, 19 一月 2024 10:31:28 +0800 Subject: [PATCH] 修改数据采集 --- guns-vip-main/src/main/java/cn/stylefeng/guns/plcserver/server/BOP040B/impl/BOP040BServerInterfaceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/guns-vip-main/src/main/java/cn/stylefeng/guns/plcserver/server/BOP040B/impl/BOP040BServerInterfaceImpl.java b/guns-vip-main/src/main/java/cn/stylefeng/guns/plcserver/server/BOP040B/impl/BOP040BServerInterfaceImpl.java index 478bd20..5ceef9b 100644 --- a/guns-vip-main/src/main/java/cn/stylefeng/guns/plcserver/server/BOP040B/impl/BOP040BServerInterfaceImpl.java +++ b/guns-vip-main/src/main/java/cn/stylefeng/guns/plcserver/server/BOP040B/impl/BOP040BServerInterfaceImpl.java @@ -69,9 +69,9 @@ String ecpStr = "";//寮傚父璁板綍鏍囪 try{ - String isHeartBeat = OPCUnit.read(opc.getBOP040B_F_HEART_BEAT()); + /* String isHeartBeat = OPCUnit.read(opc.getBOP040B_F_HEART_BEAT()); assert isHeartBeat != null; - setHeartbeat(isHeartBeat); + setHeartbeat(isHeartBeat);*/ if(GlobalVariable.BOP040B_F_HEART_BEAT) { //PC璇诲伐鍗� @@ -89,8 +89,8 @@ if(isPLCFinish.equals("true")){ String isFinish = OPCUnit.read(opc.getBOP040B_J_PC_FINISH());//PC鎿嶄綔瀹屾垚 if(isFinish.equals("false")){ - handleInfo(); handleFinsh(); + handleInfo(); } } -- Gitblit v1.9.3