using System;
using System.Collections.Generic;
namespace Siger.Middlelayer.ToolRepository.Response
{
    public class ResponseUnConfigProgramList
    {
        public int machine_id { get; set; }
        public string machine_name { get; set; }
        public string machine_code { get; set; }
        public string programno { get; set; }
        public string subprogramno { get; set; }
        public int is_processing_program { get; set; }
        /// <summary>
        /// 默认刀位排序
        /// </summary>
        public int isSort { get; set; }
        /// <summary>
        /// 刀位排序
        /// </summary>
        public List<int> default_sort { get; set; }
        public string section_dsc { get; set; }
    }
    public class ResponseConfigProgramlist
    {
        public int machine_id { get; set; }
        public string machine_name { get; set; }
        public string machine_code { get; set; }
        public string programno { get; set; }
     
        public int is_processing_program { get; set; }
        public List<SpindleSorting> spindle { get; set; }
        public ResponseConfigProgramlist()
        {
            spindle = new List<SpindleSorting>();
        }
    }
    public class CfgToolsInfo
    {
        public int machine_id { get; set; }
        public string machine_name { get; set; }
        public string machine_code { get; set; }
        public string programno { get; set; }
        public int is_processing_program { get; set; }

    }

    public class SpindleSorting
    {

        public int no { get; set; }
        public List<int> tools { get; set; }
    }

    public class CycleToolinfo
    {
        public int Spinde { get; set; }
        public int Toolno { get; set; }
        public string Pn { get; set; }
        public string Spn { get; set; }

    }
}
