From 60f1725f8aa1183fb291a858f38fdabe189ded98 Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Fri, 12 Jan 2024 11:25:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../joylink/xiannccda/ats/message/OccTcpClientConnection.java | 2 +- .../joylink/xiannccda/ats/message/XianOccMessagingClient.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/xiannccda/ats/message/OccTcpClientConnection.java b/src/main/java/club/joylink/xiannccda/ats/message/OccTcpClientConnection.java index 81ab63d..cbf6b47 100644 --- a/src/main/java/club/joylink/xiannccda/ats/message/OccTcpClientConnection.java +++ b/src/main/java/club/joylink/xiannccda/ats/message/OccTcpClientConnection.java @@ -107,7 +107,7 @@ public class OccTcpClientConnection { this.lastReceiveMessageTime = System.currentTimeMillis(); this.channel = channelFuture.channel(); this.connected = true; - this.client.requestBaseData(); +// this.client.requestBaseData(); SystemContext.publishEvent(new SystemWarnConnStateEvent(this.client.getLineId(), this)); } }); diff --git a/src/main/java/club/joylink/xiannccda/ats/message/XianOccMessagingClient.java b/src/main/java/club/joylink/xiannccda/ats/message/XianOccMessagingClient.java index 838f59b..7722f40 100644 --- a/src/main/java/club/joylink/xiannccda/ats/message/XianOccMessagingClient.java +++ b/src/main/java/club/joylink/xiannccda/ats/message/XianOccMessagingClient.java @@ -75,6 +75,7 @@ public class XianOccMessagingClient { } } + //获取列车运行图 public void requestBaseData() { if (this.rtConnection.connected && this.nrtConnection.connected && this.requestBaseDataFlag.compareAndSet(false, true)) { log.info("发送计划运行图请求 lineId[{}] host[{}] 实时接口[{}]", this.lineId, this.host, false);