TcOpenGroup / TcOpen

Application framework for industrial automation built on top of TwinCAT3 and .NET.
https://docs.tcopengroup.org/
MIT License
292 stars 49 forks source link

[NEW-FEATURE] TcOpen Inspectors with Overinspect #735

Open AdamPitak opened 4 months ago

AdamPitak commented 4 months ago

Can we have in Inspectors in .Retry(SomeStepUid) feature that can handle Over Inspect

I tried it to fix it in my step, but it do not work nicely, because Inspector is stuck at running state:

IF Data.OverInspected AND Data.Data.Result = TcoInspectors.eInspectorResult.Failed THEN ProcessData.IsFailed := TRUE; ProcessData.Data.EntityHeader.Results.Failures := Data.Data.FailureDescription; MS.RequestRestoreOrigin(); END_IF