This commit is contained in:
meixiongfeng 2023-09-14 14:40:35 +08:00
commit d86fb743c0

View File

@ -94,7 +94,7 @@ func (this *ModuleRobot_MainLine) DoPipeline(robot IRobot) (err error) {
return return
} }
break break
case 0, 3, 7: case 0, 2, 3, 5, 7:
if _, errdata = robot.SendMessage("mainline", "levelpass", &pb.MainlineLevelPassReq{Level: conf.Id}); errdata != nil { if _, errdata = robot.SendMessage("mainline", "levelpass", &pb.MainlineLevelPassReq{Level: conf.Id}); errdata != nil {
err = errors.New(fmt.Sprintf("code:%d message:%s", errdata.Code, errdata.Message)) err = errors.New(fmt.Sprintf("code:%d message:%s", errdata.Code, errdata.Message))
return return