| | |
| | | |
| | | //更新厂内流程码 |
| | | FlowCSN.CUST_CODE = CurPosition.WorkBatch.WO.CUST_CODE; |
| | | FlowCSN.WORK_ORDER = CurPosition.WorkBatch.WO.ORDER_NO; |
| | | FlowCSN.ITEM_CODE = CurPosition.WorkBatch.WO.ITEM_CODE; |
| | | FlowCSN.PKG_ORDER = CurPosition.WorkBatch.WO.ORDER_NO; |
| | | FlowCSN.PROD_CODE = CurPosition.WorkBatch.WO.ITEM_CODE; |
| | | |
| | | //记录行为操作记录 |
| | | var wipActs = new List<MES_WIP_ACT>(); |
| | |
| | | ACT_TYPE = NodeAct.ACT_TYPE, |
| | | ACT_SN = wipSn.SN, |
| | | ACT_RESULT = "Y", |
| | | ELAPSED_TIME = CurStep.GetElapsedTime().TotalMilliseconds.ToInt64(), |
| | | TRACE_INFO = $"条码[{wipSn.SN}]可以在工单[{wipSn.WORK_ORDER}]投料生产,其中U9检查耗时{U9Cost:0.0000}秒", |
| | | }; |
| | | wipActs.Add(wipAct); |