From 9a5e8be378e55c87855d7c914baea8f28ebc4549 Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Tue, 10 Sep 2024 16:12:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=98=E8=BF=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rts-sim-testing-message | 2 +- ts/simulation/wayside/memory/wayside_simulation_train_pc.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rts-sim-testing-message b/rts-sim-testing-message index 4e275a7..259b99e 160000 --- a/rts-sim-testing-message +++ b/rts-sim-testing-message @@ -1 +1 @@ -Subproject commit 4e275a7b14a645c84d15842106cc4ed883234382 +Subproject commit 259b99e6102d79dc3f78e29e742f18fb8b7d1a7a diff --git a/ts/simulation/wayside/memory/wayside_simulation_train_pc.go b/ts/simulation/wayside/memory/wayside_simulation_train_pc.go index a25a060..ce9f2b6 100644 --- a/ts/simulation/wayside/memory/wayside_simulation_train_pc.go +++ b/ts/simulation/wayside/memory/wayside_simulation_train_pc.go @@ -721,7 +721,7 @@ func (s *VerifySimulation) reportTrainMockInitMsg2(aport, act, initConn bool, in tce = append(tce, message.TrainPcSimBaseMessage{Type: message.SENDER_TRAIN_OUTR_INFO, Data: []byte{message.TRAIN_INTEGRITY, 1}}) if act == false { - tce = append(tce, message.TrainPcSimBaseMessage{Type: message.SENDER_TRAIN_OUTR_INFO, Data: []byte{message.OUTER_EMERGENCY_BRAKE, state}}) + //tce = append(tce, message.TrainPcSimBaseMessage{Type: message.SENDER_TRAIN_OUTR_INFO, Data: []byte{message.OUTER_EMERGENCY_BRAKE, state}}) //tce = append(tce, message.TrainPcSimBaseMessage{Type: message.SENDER_TRAIN_OUTR_INFO, Data: []byte{message.TRAIN_INTEGRITY, 1}}) return initTimeStamp, initConn, false, tce } @@ -786,7 +786,7 @@ func trainAtoLevel(at3, at2, at1 bool) state_proto.TrainVobcState_AtoStepLevel { func (s *VerifySimulation) shuziliang(aport bool, client *tcp.TcpClient, baseMessage []message.TrainPcSimBaseMessage) { for _, msg := range baseMessage { dd := msg.Encode() - //slog.Info(fmt.Sprintf("发送列车控制信息:%x", dd), aport) + slog.Info(fmt.Sprintf("发送列车控制信息:%x", dd), aport) client.Send(dd) }