
using System;
using System.Collections.Generic;

namespace Siger.Middlelayer.AccRepository.Response
{
    public class ResponseSnData
    {
        public int ProductRoute { get; set; }
        public string ProductRouteDesc { get; set; }
        public int Section { get; set; }
        /// <summary>
        /// 工位信息
        /// </summary>
        public string SectionValue { get; set; }
        /// <summary>
        /// 人员id
        /// </summary>
        public int Uid { get; set; }
        /// <summary>
        /// 事件代号
        /// </summary>
        public int EventNo { get; set; }
        /// <summary>
        /// 结果信息
        /// </summary>
        public string ResultValue { get; set; }
        /// <summary>
        /// 人员信息
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 合格数
        /// </summary>
        public int OKCount { get; set; }
        /// <summary>
        /// 不合格数
        /// </summary>
        public int NGCount { get; set; }
        /// <summary>
        /// 错误信息
        /// </summary>
        public string Error { get; set; }
        /// <summary>
        /// 是否通过
        /// </summary>
        public bool IsPass { get; set; }
    }

    public class ResponseTraceData
    {
        public string SN { get; set; }
        public string ProductID { get; set; }
        public int Line { get; set; }
        public string WO { get; set; }
        public int Station { get; set; }
        public string Result { get; set; }
        public DateTime TransDateTime { get; set; }
    }

    public class ResponseTrace
    {
        public ResponseTrace()
        {
            TraceData = new List<ResponseTraceData>();
        }
        public List<ResponseTraceData> TraceData { get; set; }
        public int OKCount { get; set; }
        public int NGCount { get; set; }
    }
}
