| | |
| | | info.InputQty = CurOperInfo(input.Locale).InputQty; |
| | | action.Data.OperInfo = info; |
| | | } |
| | | else if (!IsFinishAllSteps) |
| | | else if (Steps.Any() && !IsFinishAllSteps) |
| | | { |
| | | action.Data.OperInfo = SetOperNodeInfo(CurOperInfo(input.Locale)); |
| | | } |
| | |
| | | var itemCode = WorkBatch.Product.ITEM_CODE; |
| | | var wo = WorkBatch.Batch.ORDER_NO; |
| | | var snList = string.Join("\r\n", action.GetMinPackageList(action.CurPkg.Item).Select(q => q.SN)); |
| | | if (snList.IsNullOrEmpty()) { snList = $"{CurSN}"; } |
| | | var weight = action.CurPkg.WeightInfo.Weight; |
| | | var unit = action.CurPkg.WeightInfo.Unit.ToUpper(); |
| | | var model = WorkBatch.Product.ExtInfo.Model; |
| | |
| | | var Accuracy = WorkBatch.Product.ExtInfo.Accuracy; |
| | | var Remark = WorkBatch.Product.ExtInfo.Remark; |
| | | |
| | | return $"{code}|{itemCode}|{wo}|{snList}|{weight}|型号:{model},输入:{Input},输出:{OutPut},电源:{Power},精度:{Accuracy},备注:{Remark}"; |
| | | return $"{code}|{itemCode}|{wo}|\r\n{snList}|{weight}|型号:{model},输入:{Input},输出:{OutPut},电源:{Power},精度:{Accuracy},备注:{Remark}"; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | Model = (di["Model"] ?? "").ToString(), |
| | | Input = (di["Input"] ?? "").ToString(), |
| | | Display = (di["Display"] ?? "").ToString(), |
| | | OutPut = (di[" OutPut"] ?? "").ToString(), |
| | | OutPut = (di["OutPut"] ?? "").ToString(), |
| | | Power = (di["Power"] ?? "").ToString(), |
| | | Accuracy = (di["Accuracy"] ?? "").ToString(), |
| | | Remark = (di["Remark"] ?? "").ToString(), |
| | |
| | | .WhereColumns(t => new { t.ID, t.GHOST_ROW }) |
| | | .ToStorage(); |
| | | s.AsInsertable.ExecuteCommand(); |
| | | s.AsUpdateable.IgnoreColumns(x => x.ID).ExecuteCommand(); |
| | | s.AsUpdateable.ExecuteCommand(); |
| | | } |
| | | } |
| | | if (itemExts.Any()) |