车载不接收动力学速度为负数
This commit is contained in:
parent
81c36c6fb1
commit
0921835d27
|
@ -178,6 +178,9 @@ func (d *trainPcSimService) TrainPluseCount(sta *state_proto.TrainState, h1, h2,
|
|||
return
|
||||
default:
|
||||
}
|
||||
if h1 < 0 || t1 < 0 {
|
||||
return
|
||||
}
|
||||
//slog.Info(fmt.Sprintf("接受列车速度:%v", h1))
|
||||
for _, sd := range d.findTrainAllConn(sta) {
|
||||
if sd.speedPlace != nil {
|
||||
|
|
Loading…
Reference in New Issue