using System.Collections.Generic;

namespace Siger.Middlelayer.TpmRepository.Request
{
    public class RequestFaultFrequencyAnalysis
    {
        public string starttime { get; set; }

        public string endtime { get; set; }

        //产线层级id，level_section的id
        public int level_id { get; set; }

        public string offlinestatus { get; set; }

        //统计指标1、故障率2、使用率3、故障频次4、备件费用
        public string onetype { get; set; }

        /// <summary>
        /// 1 时间单位 2 产线层级
        /// </summary>
        public string x_type { get; set; }

        //level表的id 或者  1天，2周，3月
        public string x_id { get; set; }

        public IEnumerable<int> machineidarr { get; set; }

        public string machinetype { get; set; }
        public int fault_type { get; set; }
        public int fault_id { get; set; }
        public string sectionId { get; set; }
        public List<int> expections { get; set; }

    }

    public class RequestPlanTimeAnalysis
    {
        public string starttime { get; set; }

        public string endtime { get; set; }

        /// <summary>
        /// 1 时间单位 2 设备
        /// </summary>
        public string Xtype { get; set; }

        //level表的id 或者  1天，2周，3月
        public string x_id { get; set; }

        public string sectionid { get; set; }
        public int sectionId { get; set; }

        public string mode { get; set; }
    }
}
