13 lines
378 B
C#
13 lines
378 B
C#
using Hawkeye.VisionBuilder.Workflow.Datatypes;
|
|
|
|
namespace Hawkeye.VisionBuilder.Workflow.Operations;
|
|
|
|
public class ActivateImageOperation:BaseOperation
|
|
{
|
|
public ScriptValue ImageSource { get; set; } = new ScriptValue();
|
|
|
|
protected override void InterpretInternal(Context context)
|
|
{
|
|
context.ActiveImage = GetScriptValue<HawkeyeImage>(ImageSource);
|
|
}
|
|
} |