fix: rebuild MES as compilable go-zero+ent backend (renamed bj_power_mes), restore 3 workstation projects from pristine original, align naming; all Go projects go build clean
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright (c) 2025 Beijing Hardman Automation Equipment Co., LTD. All rights reserved.
|
||||
*
|
||||
* Project: adapter
|
||||
* File: dock.go
|
||||
* Last: 2025-01-13 20:04:51
|
||||
* Author: wangcheng@bj-hardman.com
|
||||
*/
|
||||
|
||||
package robot
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
func (c *Controller) PlaceWorkpieceToRollingLine(ctx context.Context, workpieceType int) error {
|
||||
return c.executeAction(ctx, "PlaceWorkpieceToRollingLine",
|
||||
newArg(int8(workpieceType), "workpieceType"), //工件类型
|
||||
newArg(int8(0)),
|
||||
newArg(int16(0)),
|
||||
newArg(int32(0)),
|
||||
)
|
||||
}
|
||||
|
||||
func (c *Controller) FetchWorkpieceFromRollingLine(ctx context.Context, workpieceType int) error {
|
||||
return c.executeAction(ctx, "FetchWorkpieceFromRollingLine",
|
||||
newArg(int8(workpieceType), "workpieceType"), //工件类型
|
||||
newArg(int8(0)),
|
||||
newArg(int16(0)),
|
||||
newArg(int32(0)),
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user