链路心跳新增modbus和ftp状态
This commit is contained in:
parent
9dc5abf77a
commit
e09f774532
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user