修改应答器移位操作的报错提示信息
This commit is contained in:
parent
a6e451e33f
commit
8cd0f61fb0
@ -681,7 +681,6 @@ func findEndTurnoutPortOrEndKm(repo *Repository, link *Link, startTp *TurnoutPor
|
||||
break
|
||||
}
|
||||
}
|
||||
link.bindDevices(devices...)
|
||||
|
||||
return endTp, endKm, err
|
||||
}
|
||||
|
@ -313,5 +313,8 @@ func (t *TurnoutPort) Device() PortedDevice {
|
||||
}
|
||||
|
||||
func (t *TurnoutPort) Turnout() *Turnout {
|
||||
if t == nil {
|
||||
return nil
|
||||
}
|
||||
return t.turnout
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user