修改发送给动力学的道岔信息的code
This commit is contained in:
parent
28f3a2adc5
commit
46552b9b9d
@ -237,7 +237,7 @@ func (s *VerifySimulation) CollectDynamicsTurnoutInfo() *message.DynamicsTurnout
|
|||||||
}
|
}
|
||||||
pos := component.TurnoutPositionType.Get(entry)
|
pos := component.TurnoutPositionType.Get(entry)
|
||||||
turnoutState.TurnoutInfos = append(turnoutState.TurnoutInfos, &message.TurnoutInfo{
|
turnoutState.TurnoutInfos = append(turnoutState.TurnoutInfos, &message.TurnoutInfo{
|
||||||
Code: 0,
|
Code: uint16(sta.CommonId),
|
||||||
NPosition: pos.Dw,
|
NPosition: pos.Dw,
|
||||||
RPosition: pos.Fw,
|
RPosition: pos.Fw,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user