| | |
| | | { |
| | | #region Propertys & Variables |
| | | public bool IsFinished { get; set; } = false; |
| | | public string StepID { get; set; } |
| | | public IWorkStep CurStep { get; set; } |
| | | public IPosition CurPosition { get; set; } |
| | | public MES_WO_NODE_ACT NodeAct { get; set; } |
| | | public MES_WO_ACTION Setting { get; set; } |
| | |
| | | /// 开始执行工序行为 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public ApiAction<SubmitOutput> Begin(string stepID, IPosition position, MES_WO_NODE_ACT nodeAct, MES_WO_ACTION setting) |
| | | public ApiAction<SubmitOutput> Begin(IWorkStep curStep, IPosition position, MES_WO_NODE_ACT nodeAct, MES_WO_ACTION setting) |
| | | { |
| | | StepID = stepID; |
| | | CurStep = curStep; |
| | | CurPosition = position; |
| | | NodeAct = nodeAct; |
| | | Setting = setting; |
| | | var action = new ApiAction<SubmitOutput>(); |
| | | |
| | | |
| | | action.LocaleMsg = new($"请按测试项提交测试数据"); |
| | | //action.LocaleMsg = new("MES.WorkAction.IPQC.PleaseTest"); |
| | | //action.LocaleMsg = new($"请按测试项提交测试数据"); |
| | | action.LocaleMsg = new("MES.WorkAction.IPQC.PleaseTest"); |
| | | return action; |
| | | } |
| | | /// <summary> |