领胜LDS 键盘AOI检测项目
xcd
2020-07-14 12200ec69e33881649974f31f270750ba6b15e1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
 
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace Bro.M071.Model.Model
{
    /// <summary>
    /// 检测结果
    /// </summary>
    public class MeasurementUnitResult : BaseModel
    {
        /// <summary>
        /// 产品测量记录Id
        /// </summary>
        [StringLength(64)]
        public string ProductionMeasurementRecordsId { get; set; }
 
        /// <summary>
        /// 检测名称
        /// </summary>
        [StringLength(64)]
        public string MeasurementName { get; set; }
 
        /// <summary>
        ///  检测结果类型 (Slant Alignment... )
        /// </summary>
        [StringLength(64)]
        public string MeasurementType { get; set; }
 
        /// <summary>
        ///  检测结果值
        /// </summary>
        [StringLength(64)]
        public string MeasurementValue { get; set; }
 
        /// <summary>
        ///  检测结果 ok ng
        /// </summary>
        [StringLength(64)]
        public string MeasurementResult { get; set; }
 
        /// <summary>
        /// 产品编码
        /// </summary>
        [NotMapped]
        public string ProductionCode { get; set; }
        [NotMapped]
        public string ProductionBarcode { get; set; }
    }
 
    public class MeasurementUnitResultRequest : BaseRequest
    {
        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductionCode { get; set; }
 
        /// <summary>
        /// 产品条码
        /// </summary>
        public string ProductionBarcode { get; set; }
 
        /// <summary>
        /// 检测名称
        /// </summary>
        public string MeasurementName { get; set; }
 
        /// <summary>
        ///  检测和标准类型
        /// </summary>
        public string MeasurementType { get; set; }
 
        /// <summary>
        ///  检测结果 ok ng
        /// </summary>
        public string MeasurementResult { get; set; }
    }
 
    public class ProductionMeasurementUnitResultAndKeyUnitDataSet
    {
 
        public ProductionMeasurementRecords ProductionMeasurementRecord { get; set; }
 
        /// <summary>
        /// 关系数据
        /// </summary>
        public List<MeasurementAndKeyDataRelation> MeasurementAndKeyDataRelationList{ get; set; }
 
        /// <summary>
        /// 检测结果
        /// </summary>
        public List<MeasurementUnitResult> MeasurementUnitResultList { get; set; }
 
        /// <summary>
        /// 原始数据
        /// </summary>
        public List<KeyUnitData> KeyUnitDataList { get; set; }
 
        public ProductionMeasurementUnitResultAndKeyUnitDataSet()
        {
            ProductionMeasurementRecord = new ProductionMeasurementRecords();
            MeasurementUnitResultList = new List<MeasurementUnitResult>();
            KeyUnitDataList = new List<KeyUnitData>();
        }
 
    }
 
}