From 46552b9b9dba0bca31b1f3756d6d4e4aec68036e Mon Sep 17 00:00:00 2001 From: joylink_zhangsai <1021828630@qq.com> Date: Fri, 19 Jan 2024 11:17:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E9=80=81=E7=BB=99?= =?UTF-8?q?=E5=8A=A8=E5=8A=9B=E5=AD=A6=E7=9A=84=E9=81=93=E5=B2=94=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=9A=84code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ts/simulation/wayside/memory/wayside_simulation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/simulation/wayside/memory/wayside_simulation.go b/ts/simulation/wayside/memory/wayside_simulation.go index 4efc6ca..974478d 100644 --- a/ts/simulation/wayside/memory/wayside_simulation.go +++ b/ts/simulation/wayside/memory/wayside_simulation.go @@ -237,7 +237,7 @@ func (s *VerifySimulation) CollectDynamicsTurnoutInfo() *message.DynamicsTurnout } pos := component.TurnoutPositionType.Get(entry) turnoutState.TurnoutInfos = append(turnoutState.TurnoutInfos, &message.TurnoutInfo{ - Code: 0, + Code: uint16(sta.CommonId), NPosition: pos.Dw, RPosition: pos.Fw, })