| | |
| | | else |
| | | btn_Run.ButtonType = ReaLTaiizor.Util.HopeButtonType.Danger; |
| | | |
| | | if (ProcessRunBll.GetImage(out _, out HObject RecordImage)) |
| | | if (ProcessRunBll.GetImage(out _, out HImage RecordImage)) |
| | | UserHSmartWindowControl.ShowHoImage(RecordImage); |
| | | } |
| | | |
| | |
| | | LogInfo?.Invoke(string.Format("流程[{0}]运行完成,结果:{1}", this.ProcessRunBll.Name, msg) |
| | | , result ? LogInfoType.PASS : LogInfoType.ERROR); |
| | | |
| | | if (ProcessRunBll.GetImage(out _, out HObject RecordImage)) |
| | | if (ProcessRunBll.GetImage(out _, out HImage RecordImage)) |
| | | UserHSmartWindowControl.ShowHoImage(RecordImage); |
| | | |
| | | if (result) |
| | |
| | | return; |
| | | |
| | | ProcessInputsSelectForm inputsSelectForm = new ProcessInputsSelectForm(ProcessName, ProcessRunBll); |
| | | inputsSelectForm.Text = ProcessName; |
| | | inputsSelectForm.ProcessName = ProcessName; |
| | | inputsSelectForm.ShowDialog(); |
| | | |
| | | ProcessRunBll.SaveInputs(); |
| | | ProcessRunBll.SaveOutputs(); |
| | | ProcessRunBll.CompileMappings(); |
| | | //string ProcessPath = GlobalVar.allProcessPath + ProcessRunBll.Name + "\\" + ProcessName + ".json"; |
| | | //((IProcess)dicSteps[ProcessName]).Load(ProcessPath); |
| | | string ProcessPath = GlobalVar.allProcessPath + ProcessRunBll.Name + "\\" + ProcessName + ".json"; |
| | | ((IProcess)dicSteps[ProcessName]).Load(ProcessPath); |
| | | } |
| | | |
| | | public void DeleteProcess(string ProcessName) |