using System.Collections.Generic;

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

        public int excludeRestTime { get; set; }

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

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

        /// <summary>
        /// 产线ID
        /// </summary>
        public int levelId { get; set; }

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

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

        /// <summary>
        /// 工序号
        /// </summary>
        public int serialNumber { get; set; }

        public int sectionId { get; set; }

        public string sectionName { get; set; }

        public int cycleTime { get; set; }
    }
}
