From e09f7745325fab3895279cad0e9af7a9aa3e70bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=B7=E6=88=90=E4=BC=9F?= Date: Tue, 31 Dec 2024 10:09:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=BE=E8=B7=AF=E5=BF=83=E8=B7=B3=E6=96=B0?= =?UTF-8?q?=E5=A2=9Emodbus=E5=92=8Cftp=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/das/modules/node/command/HeartbeatCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/das/src/main/java/com/das/modules/node/command/HeartbeatCommand.java b/das/src/main/java/com/das/modules/node/command/HeartbeatCommand.java index b2ecf27b..4e1a3509 100644 --- a/das/src/main/java/com/das/modules/node/command/HeartbeatCommand.java +++ b/das/src/main/java/com/das/modules/node/command/HeartbeatCommand.java @@ -49,7 +49,7 @@ public class HeartbeatCommand implements BaseCommand{ JsonNode realNode = linkNode.get("real"); if (realNode != null){ boolean real = realNode.asBoolean(); - String key = String.format("link:%s:modbus", linkId); + String key = String.format("link:%s:real", linkId); ops.set(key, real, HEARTBEAT_TTL, TimeUnit.SECONDS); } JsonNode ftpNode = linkNode.get("ftp");