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);