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/OP120B/impl/OP120BServerInterfaceImpl.java | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/guns-vip-main/src/main/java/cn/stylefeng/guns/plcserver/server/OP120B/impl/OP120BServerInterfaceImpl.java b/guns-vip-main/src/main/java/cn/stylefeng/guns/plcserver/server/OP120B/impl/OP120BServerInterfaceImpl.java index 25759bf..04b1dba 100644 --- a/guns-vip-main/src/main/java/cn/stylefeng/guns/plcserver/server/OP120B/impl/OP120BServerInterfaceImpl.java +++ b/guns-vip-main/src/main/java/cn/stylefeng/guns/plcserver/server/OP120B/impl/OP120BServerInterfaceImpl.java @@ -77,8 +77,8 @@ String ecpStr = "";//寮傚父璁板綍鏍囪 try{ - String isHeartBeat = OPCUnit.read(opc.getOP120B_F_HEART_BEAT()); - setHeartbeat(isHeartBeat); + /*String isHeartBeat = OPCUnit.read(opc.getOP120B_F_HEART_BEAT()); + setHeartbeat(isHeartBeat);*/ if(GlobalVariable.OP120B_F_HEART_BEAT) { //PC璇诲伐鍗� @@ -96,9 +96,10 @@ if(isPLCFinish.equals("true")){ String isFinish = OPCUnit.read(opc.getOP120B_J_PC_FINISH());//PC鎿嶄綔瀹屾垚 if(isFinish.equals("false")){ - //handleMaterial(); - handleInfo(); handleFinsh(); + handleInfo(); + // handleMaterial(); + } } -- Gitblit v1.9.3