添加 MX-PD-盘古 项目文件
将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
using MainShell.Common;
|
||||
|
||||
namespace MainShell.Vision
|
||||
{
|
||||
/// <summary>
|
||||
/// Die 定位请求。
|
||||
/// </summary>
|
||||
public class FindDieRequest
|
||||
{
|
||||
private CameraCaptureOptions _captureOptions;
|
||||
|
||||
public FindDieRequest()
|
||||
{
|
||||
_captureOptions = new CameraCaptureOptions();
|
||||
TimeoutMilliseconds = 3000;
|
||||
Parameters = new FindDieParameters();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 相机源。
|
||||
/// </summary>
|
||||
public CameraType CameraSource { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 取图选项。
|
||||
/// </summary>
|
||||
public CameraCaptureOptions CaptureOptions
|
||||
{
|
||||
get
|
||||
{
|
||||
return _captureOptions;
|
||||
}
|
||||
set
|
||||
{
|
||||
_captureOptions = value ?? new CameraCaptureOptions();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 算法超时时间(毫秒)。
|
||||
/// </summary>
|
||||
public int TimeoutMilliseconds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Die 定位参数。
|
||||
/// </summary>
|
||||
public FindDieParameters Parameters { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user