ProductAutomaticRepairActivity - 不良品自动返修
概述
ProductAutomaticRepairActivity 是一个 MES 专用的不良品自动返修节点,用于自动创建产品的返修判定记录。该节点可以根据配置的判定结果类型(NG品流程、人工返修、设备返修、产品报废)自动为产品创建相应的判定记录,实现不良品的自动化处理流程。
基本信息
| 属性 | 值 |
|---|---|
| 显示名称 | 不良品自动返修 |
| 类名 | ProductAutomaticRepairActivity |
| 命名空间 | CMS.Plugin.MesSuite.Activitys |
| 基类 | InboundDetectionActivity |
| 分类 | 工序步骤 |
| 排序 | 15 |
| 发布 | 是 |
配置说明
该节点通过工艺配置和流程上下文变量进行控制。
工艺配置
| 配置项 | 说明 |
|---|---|
| ProductAutomaticRepair | 不良品自动返修功能开关 |
输入变量
| 变量名 | 常量 | 类型 | 说明 |
|---|---|---|---|
| ProductAutomaticRepair_SerialNumber | FlowItemCollection.ProductAutomaticRepairSerialNumberKey | string | 产品序列号(必填) |
| ProductAutomaticRepair_Judgement | FlowItemCollection.ProductAutomaticRepairJudgementKey | string | 判定结果类型(必填) |
| ProductAutomaticRepair_Reason | FlowItemCollection.ProductAutomaticRepairReasonKey | string | 不合格原因(可选) |
| ProductAutomaticRepair_Section | FlowItemCollection.ProductAutomaticRepairSectionKey | string | 判定工序(可选) |
输出变量
| 变量名 | 常量 | 类型 | 说明 |
|---|---|---|---|
| ProductAutomaticRepair_Result | FlowItemCollection.ProductAutomaticRepairResultKey | int | 执行结果:0=未执行,1=成功,2=失败 |
| ProductAutomaticRepair_Description | FlowItemCollection.ProductAutomaticRepairDescriptionKey | string | 执行描述/错误信息 |