调整
This commit is contained in:
parent
3cfde83eef
commit
60f1725f8a
@ -107,7 +107,7 @@ public class OccTcpClientConnection {
|
|||||||
this.lastReceiveMessageTime = System.currentTimeMillis();
|
this.lastReceiveMessageTime = System.currentTimeMillis();
|
||||||
this.channel = channelFuture.channel();
|
this.channel = channelFuture.channel();
|
||||||
this.connected = true;
|
this.connected = true;
|
||||||
this.client.requestBaseData();
|
// this.client.requestBaseData();
|
||||||
SystemContext.publishEvent(new SystemWarnConnStateEvent(this.client.getLineId(), this));
|
SystemContext.publishEvent(new SystemWarnConnStateEvent(this.client.getLineId(), this));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -75,6 +75,7 @@ public class XianOccMessagingClient {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//获取列车运行图
|
||||||
public void requestBaseData() {
|
public void requestBaseData() {
|
||||||
if (this.rtConnection.connected && this.nrtConnection.connected && this.requestBaseDataFlag.compareAndSet(false, true)) {
|
if (this.rtConnection.connected && this.nrtConnection.connected && this.requestBaseDataFlag.compareAndSet(false, true)) {
|
||||||
log.info("发送计划运行图请求 lineId[{}] host[{}] 实时接口[{}]", this.lineId, this.host, false);
|
log.info("发送计划运行图请求 lineId[{}] host[{}] 实时接口[{}]", this.lineId, this.host, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user