AGV 调度: - 任务重构为 GO_LOAD/TRANSPORT/EMPTY_RETURN/FREE 三段链,到位即停(ARRIVED)需人工确认装卸 - 自由调度单点步进,每段强制弹"请确保路径畅通无杂物";托盘回收独立工作台 - 接驳台 PLC 传感器检测到托盘即自动卸货放行,传感器故障由人工按钮兜底(无轮询) - 车辆状态只读展示(海康3.1.7 queryAgvStatus),调度仍由 RCS 负责 物料闭环: - 补料管理(SHORTAGE):工位申请 + 主管审批调增叫料池额度,与借料/差异补发三轨并行 - 损耗台账(loss_ledger):退料实际 < 理论必填原因、后审核,工单不记损耗 - 退料强制指定左/右接驳台,WMS 库管可代工位退料 下班闭环: - 工位终端自检接驳台剩余物料后下班;库管收货 + 托盘拉走后事件驱动自动结班 - 退出登录未下班仅作安全提示(不强制拦截、不新增责任审批) 接驳台左右按操作员朝向建模(dock.side 字段),废除"奇左偶右"隐式约定; 看板标签 / seed / 迁移补丁 / 布局文档统一为中文左/右。 产线布局说明:C1 前线头 AGV 点、C15 后线尾 AGV 点、外部 O1/O2/O3 散点, 清理修订痕迹为最终态描述。
134 lines
4.4 KiB
Go
134 lines
4.4 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package predicate
|
|
|
|
import (
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// AgvPoint is the predicate function for agvpoint builders.
|
|
type AgvPoint func(*sql.Selector)
|
|
|
|
// AgvTask is the predicate function for agvtask builders.
|
|
type AgvTask func(*sql.Selector)
|
|
|
|
// Alert is the predicate function for alert builders.
|
|
type Alert func(*sql.Selector)
|
|
|
|
// AlertRule is the predicate function for alertrule builders.
|
|
type AlertRule func(*sql.Selector)
|
|
|
|
// AssociationTrace is the predicate function for associationtrace builders.
|
|
type AssociationTrace func(*sql.Selector)
|
|
|
|
// Attachment is the predicate function for attachment builders.
|
|
type Attachment func(*sql.Selector)
|
|
|
|
// BackupRecord is the predicate function for backuprecord builders.
|
|
type BackupRecord func(*sql.Selector)
|
|
|
|
// CallPool is the predicate function for callpool builders.
|
|
type CallPool func(*sql.Selector)
|
|
|
|
// DailyPlan is the predicate function for dailyplan builders.
|
|
type DailyPlan func(*sql.Selector)
|
|
|
|
// Dock is the predicate function for dock builders.
|
|
type Dock func(*sql.Selector)
|
|
|
|
// EventLog is the predicate function for eventlog builders.
|
|
type EventLog func(*sql.Selector)
|
|
|
|
// FlowMaterial is the predicate function for flowmaterial builders.
|
|
type FlowMaterial func(*sql.Selector)
|
|
|
|
// InspectionRecord is the predicate function for inspectionrecord builders.
|
|
type InspectionRecord func(*sql.Selector)
|
|
|
|
// LinePoint is the predicate function for linepoint builders.
|
|
type LinePoint func(*sql.Selector)
|
|
|
|
// LossLedger is the predicate function for lossledger builders.
|
|
type LossLedger func(*sql.Selector)
|
|
|
|
// Material is the predicate function for material builders.
|
|
type Material func(*sql.Selector)
|
|
|
|
// MaterialQtyReport is the predicate function for materialqtyreport builders.
|
|
type MaterialQtyReport func(*sql.Selector)
|
|
|
|
// MaterialRequest is the predicate function for materialrequest builders.
|
|
type MaterialRequest func(*sql.Selector)
|
|
|
|
// Permission is the predicate function for permission builders.
|
|
type Permission func(*sql.Selector)
|
|
|
|
// PlcSendLog is the predicate function for plcsendlog builders.
|
|
type PlcSendLog func(*sql.Selector)
|
|
|
|
// ProcessFlow is the predicate function for processflow builders.
|
|
type ProcessFlow func(*sql.Selector)
|
|
|
|
// ProcessStep is the predicate function for processstep builders.
|
|
type ProcessStep func(*sql.Selector)
|
|
|
|
// ProductProcess is the predicate function for productprocess builders.
|
|
type ProductProcess func(*sql.Selector)
|
|
|
|
// ProductProcessItem is the predicate function for productprocessitem builders.
|
|
type ProductProcessItem func(*sql.Selector)
|
|
|
|
// Role is the predicate function for role builders.
|
|
type Role func(*sql.Selector)
|
|
|
|
// SemiFlow is the predicate function for semiflow builders.
|
|
type SemiFlow func(*sql.Selector)
|
|
|
|
// ShortageRequest is the predicate function for shortagerequest builders.
|
|
type ShortageRequest func(*sql.Selector)
|
|
|
|
// Station is the predicate function for station builders.
|
|
type Station func(*sql.Selector)
|
|
|
|
// StationShift is the predicate function for stationshift builders.
|
|
type StationShift func(*sql.Selector)
|
|
|
|
// StationState is the predicate function for stationstate builders.
|
|
type StationState func(*sql.Selector)
|
|
|
|
// StepCriterion is the predicate function for stepcriterion builders.
|
|
type StepCriterion func(*sql.Selector)
|
|
|
|
// StepData is the predicate function for stepdata builders.
|
|
type StepData func(*sql.Selector)
|
|
|
|
// StepSignRecord is the predicate function for stepsignrecord builders.
|
|
type StepSignRecord func(*sql.Selector)
|
|
|
|
// SysConfig is the predicate function for sysconfig builders.
|
|
type SysConfig func(*sql.Selector)
|
|
|
|
// TorqueRecord is the predicate function for torquerecord builders.
|
|
type TorqueRecord func(*sql.Selector)
|
|
|
|
// User is the predicate function for user builders.
|
|
type User func(*sql.Selector)
|
|
|
|
// UserStation is the predicate function for userstation builders.
|
|
type UserStation func(*sql.Selector)
|
|
|
|
// WorkOrder is the predicate function for workorder builders.
|
|
type WorkOrder func(*sql.Selector)
|
|
|
|
// Workpiece is the predicate function for workpiece builders.
|
|
type Workpiece func(*sql.Selector)
|
|
|
|
// WorkpieceBind is the predicate function for workpiecebind builders.
|
|
type WorkpieceBind func(*sql.Selector)
|
|
|
|
// WorkpieceLifecycleLog is the predicate function for workpiecelifecyclelog builders.
|
|
type WorkpieceLifecycleLog func(*sql.Selector)
|
|
|
|
// WorkpieceProcess is the predicate function for workpieceprocess builders.
|
|
type WorkpieceProcess func(*sql.Selector)
|