修改发送给动力学的道岔信息的code

This commit is contained in:
joylink_zhangsai 2024-01-19 11:17:36 +08:00
parent 28f3a2adc5
commit 46552b9b9d
1 changed files with 1 additions and 1 deletions

View File

@ -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,
})