|
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>();
|
}
|
|
}
|
|
}
|