check point
This commit is contained in:
8
Hawkeye.VisionBuilder.Workflow/Links/IHaveEdge.cs
Normal file
8
Hawkeye.VisionBuilder.Workflow/Links/IHaveEdge.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using Hawkeye.VisionBuilder.Workflow.Datatypes.Elements.Edge;
|
||||
|
||||
namespace Hawkeye.VisionBuilder.Workflow.Links;
|
||||
|
||||
public interface IHaveEdge
|
||||
{
|
||||
public EdgeOrigin EdgeOrigin { get; }
|
||||
}
|
||||
8
Hawkeye.VisionBuilder.Workflow/Links/IHaveImage.cs
Normal file
8
Hawkeye.VisionBuilder.Workflow/Links/IHaveImage.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using Hawkeye.VisionBuilder.Workflow.Datatypes;
|
||||
|
||||
namespace Hawkeye.VisionBuilder.Workflow.Links;
|
||||
|
||||
public interface IHaveImage
|
||||
{
|
||||
public HawkeyeImage Image { get; }
|
||||
}
|
||||
12
Hawkeye.VisionBuilder.Workflow/Links/IHaveOrigin.cs
Normal file
12
Hawkeye.VisionBuilder.Workflow/Links/IHaveOrigin.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Hawkeye.VisionBuilder.Workflow.Datatypes;
|
||||
using Hawkeye.VisionBuilder.Workflow.Datatypes.Elements;
|
||||
using Hawkeye.VisionBuilder.Workflow.Datatypes.Elements.Origin;
|
||||
|
||||
|
||||
namespace Hawkeye.VisionBuilder.Workflow.Links;
|
||||
|
||||
public interface IHaveOrigin
|
||||
{
|
||||
public Guid Id { get; }
|
||||
public OriginElement Origin { get; }
|
||||
}
|
||||
8
Hawkeye.VisionBuilder.Workflow/Links/IHaveSearchArea.cs
Normal file
8
Hawkeye.VisionBuilder.Workflow/Links/IHaveSearchArea.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using Hawkeye.VisionBuilder.Workflow.Datatypes.Elements.Rectangle;
|
||||
|
||||
namespace Hawkeye.VisionBuilder.Workflow.Links;
|
||||
|
||||
public interface IHaveSearchArea
|
||||
{
|
||||
public RectangleElement SearchArea { get; set; }
|
||||
}
|
||||
37
Hawkeye.VisionBuilder.Workflow/Links/NoOrigin.cs
Normal file
37
Hawkeye.VisionBuilder.Workflow/Links/NoOrigin.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using Hawkeye.VisionBuilder.Workflow.Datatypes.Elements.Edge;
|
||||
using Hawkeye.VisionBuilder.Workflow.Datatypes.Elements.Origin;
|
||||
|
||||
|
||||
namespace Hawkeye.VisionBuilder.Workflow.Links;
|
||||
|
||||
public class NoOrigin:BaseOperation,IHaveOrigin,IHaveEdge
|
||||
{
|
||||
private NoOrigin()
|
||||
{
|
||||
}
|
||||
|
||||
public static NoOrigin Instance { get; } = new NoOrigin();
|
||||
|
||||
public Guid Id { get; } = new Guid();
|
||||
public OriginElement Origin { get; } = new OriginElement();
|
||||
public string Label { get; set; } = "No origin";
|
||||
|
||||
protected override void InterpretInternal(Context context)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Save(BinaryWriter bw)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Load(BinaryReader br)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IHaveOrigin Parent { get; set; }
|
||||
|
||||
public EdgeOrigin EdgeOrigin { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user