DHDHSoftware/DH.Devices.Vision/SimboVisionModel.cs
2025-03-16 13:28:32 +08:00

42 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DH.Devices.Vision
{
//工站 模型检测引擎
public class SimboStationMLEngineSet
{
public bool IsUseGPU { get; set; }
/// <summary>
/// GPU设备号
/// </summary>
public int GPUNo { get; set; }
/// <summary>
/// CPU线程号
/// </summary>
public int CPUNo { get; set; }
/// <summary>
/// 检测配置ID
/// </summary>
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的字段必须包含非 null 值。请考虑声明为可以为 null。
public string DetectionId { get; set; }
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的字段必须包含非 null 值。请考虑声明为可以为 null。
public string DetectionName { get; set; }
/// <summary>
/// 深度学习模型
/// </summary>
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的字段必须包含非 null 值。请考虑声明为可以为 null。
public SimboVisionMLBase StationMLEngine { get; set; }
}
}