列车pc仿真调整
All checks were successful
local-test分支打包构建docker并发布运行 / Docker-Build (push) Successful in 1m33s

This commit is contained in:
tiger_zhou 2024-04-15 09:51:02 +08:00
parent d45752ddb5
commit 117ff89562

View File

@ -102,8 +102,8 @@ func trainControlDriverKey(trainState *state_proto.TrainState, request *request_
slog.Error("未找到对应的驾驶端激活设备deviceId:", deviceId) slog.Error("未找到对应的驾驶端激活设备deviceId:", deviceId)
return nil return nil
} }
trainState.VobcState.Tc1Active = false //trainState.VobcState.Tc1Active = false
trainState.VobcState.Tc2Active = false //trainState.VobcState.Tc2Active = false
if obj.Code == "SKQYS1" { if obj.Code == "SKQYS1" {
trainState.VobcState.Tc1Active = request.Val trainState.VobcState.Tc1Active = request.Val