check point
This commit is contained in:
24
Hawkeye.VisionBuilder.Workflow/BaseOperationDecorator.cs
Normal file
24
Hawkeye.VisionBuilder.Workflow/BaseOperationDecorator.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace Hawkeye.VisionBuilder.Workflow;
|
||||
|
||||
public class BaseOperationDecorator
|
||||
{
|
||||
private readonly BaseOperation _baseOperation;
|
||||
|
||||
public BaseOperationDecorator(BaseOperation baseOperation)
|
||||
{
|
||||
_baseOperation = baseOperation;
|
||||
}
|
||||
|
||||
public bool Result => Operation.Result;
|
||||
public string ResultString => Operation.ToString();
|
||||
public string TypeName => Operation.TypeName;
|
||||
public string Label
|
||||
{
|
||||
get => Operation.Label;
|
||||
set => Operation.Label = value;
|
||||
}
|
||||
|
||||
public string ExecutionTimeString => Operation.ExecutionTimeString;
|
||||
|
||||
public BaseOperation Operation => _baseOperation;
|
||||
}
|
||||
Reference in New Issue
Block a user