| | |
| | | /// 异步显示图片 |
| | | /// </summary> |
| | | /// <param name="ho_image"></param> |
| | | public void ShowHoImage(HObject ho_image) |
| | | public void ShowHoImage(HImage ho_image) |
| | | { |
| | | string str = this.lblTitle.Text; |
| | | UserHSmartWindowControl.hImage = ho_image; |
| | | |
| | | if (this.InvokeRequired) |
| | | { |
| | | this.BeginInvoke(new Action(() => |
| | |
| | | ClearObj(); |
| | | result = Run(out msg); |
| | | |
| | | if (ProcessRunBll.GetImage(_Layout, out _, out HObject RecordImage)) |
| | | if (ProcessRunBll.GetImage(_Layout, out _, out HImage RecordImage)) |
| | | { |
| | | ShowHoImage(RecordImage); |
| | | } |
| | |
| | | ProcessRunBll.LogInfo($"{ProcessRunBll.Name}运行结束,结果为:{msg}" |
| | | , result ? LogInfoType.PASS : LogInfoType.ERROR); |
| | | |
| | | if (ProcessRunBll.GetImage(_Layout, out _, out HObject RecordImage)) |
| | | if (ProcessRunBll.GetImage(_Layout, out _, out HImage RecordImage)) |
| | | { |
| | | ShowHoImage(RecordImage); |
| | | } |