namespace Siger.Middlelayer.DncRepository.Response
{
    public class ResponseGetDncMachineInfo
    {
        public int machineid { get; set; }

        public string machinename { get; set; }

        /// <summary>
        /// 设备位置
        /// </summary>
        public string location { get; set; }

        /// <summary>
        /// 设备状态 调试 空闲 运行 报警 
        /// </summary>
        public int machinestatus { get; set; }

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

        /// <summary>
        /// 图纸号
        /// </summary>
        public string drwano { get; set; }

        public string productname { get; set; }

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

        /// <summary>
        /// 程序号
        /// </summary>
        public string proccesscode { get; set; }

        /// <summary>
        /// 1正常设备2串口设备3ftp设备4无系统设备
        /// </summary>
        public int attribute { get; set; }

        public int sectionid { get; set; }
    }

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

        public string program_code { get; set; }

        public string draw_code { get; set; }

        public string productname { get; set; }

        public string creator { get; set; }

        public string create_remark { get; set; }

        public string file_url { get; set; }

        public string content { get; set; }

        public string workproccess { get; set; }

        public int exist { get; set; }
    }

    public class ResponseBaoLangProducts
    {
        public string drawno { get; set; }

        public string productname { get; set; }
    }

    public class ResponseBaoLangProcesss
    {
        public string id { get; set; }

        public string name { get; set; }
    }
}
