using LB_SmartVisionCommon;
|
using Newtonsoft.Json;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace LB_SmartVision.SQL
|
{
|
/// <summary>
|
/// 记录生产数据
|
/// </summary>
|
[JsonObject(MemberSerialization.OptOut)]
|
[TypeConverter(typeof(PropertySorter))]
|
public class RecordProductData
|
{
|
/// <summary>
|
/// SKU 物料号或产品名称
|
/// </summary>
|
[Category("RecordProductData"), PropertyOrder(0)]
|
[DisplayName("SKU")]
|
[Browsable(true)]
|
public string ProductName { get; set; }
|
|
/// <summary>
|
/// 产品SN号
|
/// </summary>
|
[Category("RecordProductData"), PropertyOrder(1)]
|
[DisplayName("SN")]
|
[Browsable(true)]
|
public string ProductSN { get; set; }
|
|
/// <summary>
|
/// 检测作业员
|
/// </summary>
|
[Category("RecordProductData"), PropertyOrder(2)]
|
[DisplayName("检测作业员")]
|
[Browsable(true)]
|
public string InspectionOperator { get; set; }
|
|
/// <summary>
|
/// NG类型
|
/// </summary>
|
[Category("RecordProductData"), PropertyOrder(3)]
|
[DisplayName("NG类型")]
|
[Browsable(true)]
|
public string NGType { get; set; }
|
|
/// <summary>
|
/// NG大小
|
/// </summary>
|
[Category("RecordProductData"), PropertyOrder(4)]
|
[DisplayName("NG大小")]
|
[Browsable(true)]
|
public string NGSize { get; set; }
|
|
/// <summary>
|
/// 检测时间
|
/// </summary>
|
[Category("RecordProductData"), PropertyOrder(5)]
|
[DisplayName("检测时间")]
|
[Browsable(true)]
|
public string DetectionTime { get; set; }
|
|
/// <summary>
|
/// 检测相机
|
/// </summary>
|
[Category("RecordProductData"), PropertyOrder(6)]
|
[DisplayName("检测相机")]
|
[Browsable(true)]
|
public string CameraInspection { get; set; }
|
|
/// <summary>
|
/// 轮胎ID
|
/// </summary>
|
[Category("RecordProductData"), PropertyOrder(7)]
|
[DisplayName("轮胎ID")]
|
[Browsable(true)]
|
public int TyreID { get; set; }
|
|
/// <summary>
|
/// 图像序号(1~n)
|
/// </summary>
|
[Category("RecordProductData"), PropertyOrder(8)]
|
[DisplayName("图像序号")]
|
[Browsable(true)]
|
public int ImageIndex { get; set; }
|
|
/// <summary>
|
/// 轮胎级检测结果
|
/// </summary>
|
[Category("RecordProductData"), PropertyOrder(9)]
|
[DisplayName("轮胎结果")]
|
[Browsable(true)]
|
public string TyreResult { get; set; }
|
|
/// <summary>
|
/// 每张轮胎图像数
|
/// </summary>
|
[Category("RecordProductData"), PropertyOrder(10)]
|
[DisplayName("轮胎图像数")]
|
[Browsable(true)]
|
public int ImagesPerTyre { get; set; }
|
}
|
}
|