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

namespace Siger.Middlelayer.CncRepository.Response
{
    public class ResponseOrderProgress
    {
        /// <summary>
        /// 工序顺序号
        /// </summary>
        public int serialNumber { get; set; } = 0;

        /// <summary>
        /// 工序说明
        /// </summary>
        public string description { get; set; } = string.Empty;

        public string name { get; set; } = string.Empty;

        /// <summary>
        /// 计划数量
        /// </summary>
        public double plan_count { get; set; } = 0;

        /// <summary>
        /// 已派工数量
        /// </summary>
        public double job_count { get; set; }

        /// <summary>
        /// 已完工数量
        /// </summary>
        public double finish_count { get; set; }

        /// <summary>
        /// 未派工数量
        /// </summary>
        public double unjob_count { get; set; }

        public int state { get; set; }
    }

    public class ResponseOrderProgressForStop
    {
        public int id { get; set; }

        /// <summary>
        /// 工序顺序号
        /// </summary>
        public string product_name { get; set; } = string.Empty;

        /// <summary>
        /// 工序名称
        /// </summary>
        public string route_name { get; set; } = string.Empty;

        /// <summary>
        /// 工令单号
        /// </summary>
        public string number { get; set; } = string.Empty;

        /// <summary>
        /// 派工时间
        /// </summary>
        public string time { get; set; } = string.Empty;
    }
}
