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

namespace Siger.Middlelayer.CncRepository.Response
{
    /// <summary>
    /// 工令单任务一览回参
    /// </summary>
    public class ResponseWorkOrderList
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string ordernumber { get; set; }
        /// <summary>
        /// 交货期
        /// </summary>
        public string delivery_time { get; set; }
        /// <summary>
        /// 工单号
        /// </summary>
        public string  code { get; set; }
        /// <summary>
        /// 报工日期
        /// </summary>
        public DateTime addTime { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string product_name { get; set; }
        /// <summary>
        /// 工令单号
        /// </summary>
        public string orderNumber { get; set; }
        /// <summary>
        /// 工序id
        /// </summary>
        public int route_id { get; set; }
        /// <summary>
        /// 工序号
        /// </summary>
        public int serialNumber { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 工序说明 
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 计划数量
        /// </summary>
        public int quantity { get; set; }
        /// <summary>
        /// 合格数量
        /// </summary>
        public int ok_number { get; set; }
        /// <summary>
        /// 不合格数量
        /// </summary>
        public int nok_number { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string product_code { get; set; }
        /// <summary>
        /// 派单人
        /// </summary>
        public string user { get; set; }

    }

    /// <summary>
    /// 手机查工位当前状态和持续时长
    /// </summary>
    public class ResponseSectionStatusTime
    {
        /// <summary>
        /// 设备状态
        /// </summary>
        public int machine_status { get; set; }
        /// <summary>
        /// 运行时长
        /// </summary>
        public double time_span { get; set; }
    }
}
