29 lines
762 B
C#
29 lines
762 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace VisionCommon
|
|
{
|
|
public class CommonPreProcessParam : ICloneCopy<CommonPreProcessParam>
|
|
{
|
|
public bool IsOverlayToCameraDisplay { get; set; } = true;
|
|
public CommonPreProcessParam Clone()
|
|
{
|
|
return ((ICloneable)this).Clone() as CommonPreProcessParam;
|
|
}
|
|
public void CopyTo(CommonPreProcessParam target)
|
|
{
|
|
target.IsOverlayToCameraDisplay = this.IsOverlayToCameraDisplay;
|
|
}
|
|
|
|
object ICloneable.Clone()
|
|
{
|
|
var cloneObj = new CommonPreProcessParam();
|
|
CopyTo(cloneObj);
|
|
return cloneObj;
|
|
}
|
|
}
|
|
}
|