using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.AccRepository.Response
{
    public class ResponseGetWorkOrderbeatSet
    {
        public int machineID { get; set; }
        public int id { get; set; }
        public string route_name { get; set; }
        public string routename { get; set; }
        public string product_name { get; set; }
        public string route_number { get; set; }
        public string title { get; set; }
        public string code { get; set; }
    }
    public class ResponseTypes
    {
        public int id { get; set; }
        public int type { get; set; }
        public string name { get; set; }
        public List<inspect> inspect { get; set; }
        public string unit { get; set; }

    }
    public class ResponseinspectType
    {
        public List<ResponseType> type { get; set; }
    }
    public class ResponseType
    {
        public string type_name { get; set; }
        public int type_code { get; set; }
       
    }
    public class inspect
    {
        public int id { get; set; }
        public string option { get; set; }
       

    }

    public class RequestSaveOption
    {
        public List<RequestTraceDetial> TraceDetials { get; set; }
        public string SN { get; set; }
        public string ProductID { get; set; }
        public string WO { get; set; }
        public int Station { get; set; }
        public string Results { get; set; }
        public int userId { get; set; }
        public int ProductRoute { get; set; }
        /// <summary>
        /// 检验类型
        /// </summary>
        public string type { get; set; }
    }
    public class RequestTraceDetial
    {
        public int id { get; set; }
        /// <summary>
        /// 检查项
        /// </summary>
        public string Item { get; set; }
        /// <summary>
        /// 值
        /// </summary>
        public string Value { get; set; }
        /// <summary>
        /// 检验项id
        /// </summary>
        public string Result { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string unit { get; set; }
    }
}
