Merge branch 'develop' into local-test
Some checks failed
local-test分支打包构建docker并发布运行 / Docker-Build (push) Failing after 1m2s
Some checks failed
local-test分支打包构建docker并发布运行 / Docker-Build (push) Failing after 1m2s
This commit is contained in:
commit
1d77dd0fec
5
third_party/train_pc_sim/train_pc_sim.go
vendored
5
third_party/train_pc_sim/train_pc_sim.go
vendored
@ -6,7 +6,6 @@ import (
|
||||
"joylink.club/bj-rtsts-server/config"
|
||||
"joylink.club/bj-rtsts-server/dto/state_proto"
|
||||
"joylink.club/bj-rtsts-server/third_party/tcp"
|
||||
"joylink.club/bj-rtsts-server/ts/simulation/wayside/memory"
|
||||
"joylink.club/ecs"
|
||||
"log/slog"
|
||||
"sync"
|
||||
@ -73,8 +72,8 @@ func (pc *trainPcSimService) Start(pcSimManage TrainPcSimManage) {
|
||||
ctx, ctxFun := context.WithCancel(context.Background())
|
||||
pc.cancleContext = ctxFun
|
||||
pc.trainPcSimManage = pcSimManage
|
||||
vs := pcSimManage.(*memory.VerifySimulation)
|
||||
FireTrainControlEventType.Subscribe(vs.World, pc.trainControlEventHandle)
|
||||
//vs := pcSimManage.(*memory.VerifySimulation)
|
||||
//FireTrainControlEventType.Subscribe(vs.World, pc.trainControlEventHandle)
|
||||
|
||||
go pc.sendTrainLocationAndSpeedTask(ctx)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user