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:
SunYF
2026-08-27 10:56:41 +08:00
parent 380715f8a9
commit 371b494c54
523 changed files with 67923 additions and 24758 deletions
@@ -0,0 +1,20 @@
package tool
import (
"context"
)
// ToolCommand 手持工具命令
type ToolCommand struct {
Action string // 操作类型(SCAN/MARK
JobID int // 关联工件 ID
Params map[string]any // 操作参数
}
// HandheldTool 手持工具接口
type HandheldTool interface {
ID() string
Type() string
Name() string
Execute(ctx context.Context, cmd ToolCommand) error
}