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

namespace Siger.Middlelayer.CncRepository.Request
{
   public class RequestChanglingExecuteSchedule
    {/// <summary>
        /// 计划ID
        /// </summary>
        public int planId { get; set; }

        public int excludeRestTime { get; set; }

        public IEnumerable<ChanglingWorkOrder> orders { get; set; }
    }

    public class ChanglingWorkOrder
    {
        public string batch { get; set; }

        /// <summary>
        /// 工令单号
        /// </summary>
        public string orderNumber { get; set; }

        /// <summary>
        /// 批次数量
        /// </summary>
        public int count { get; set; }

        /// <summary>
        /// 工序类型
        /// </summary>
        public int route_type { get; set; }

        /// <summary>
        /// 工序顺序
        /// </summary>
        public string route_number { get; set; }

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

        public int machine_id { get; set; }

        public string machine_name { get; set; }

        public int cycleTime { get; set; }

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