using Siger.Middlelayer.Utility.ExcelImport;

namespace Siger.Middlelayer.Utility.ImportEntities
{
    public class BarChart: ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }

        [ExcelColumn("横坐标")]
        public string Abscissa { get; set; }

        [ExcelColumn("纵坐标")]
        public string Ordinates { get; set; }

    }

    public class BarChart1 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("日期")]
        public string Abscissa { get; set; }

        [ExcelColumn("报警次数")]
        public string Ordinates { get; set; }

    }

    public class BarChart2 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("产线层级")]
        public string Abscissa { get; set; }

        [ExcelColumn("报警次数")]
        public string Ordinates { get; set; }

    }

    public class BarChart3 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("故障代码")]
        public string Abscissa { get; set; }

        [ExcelColumn("报警次数")]
        public string Ordinates { get; set; }

    }

    public class BarChart4 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("故障类别")]
        public string Abscissa { get; set; }

        [ExcelColumn("报警次数")]
        public string Ordinates { get; set; }

    }

    public class BarChart5 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("日期")]
        public string Abscissa { get; set; }

        [ExcelColumn("报警时长")]
        public string Ordinates { get; set; }

    }

    public class BarChart6 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("产线层级")]
        public string Abscissa { get; set; }

        [ExcelColumn("报警时长")]
        public string Ordinates { get; set; }

    }

    public class BarChart7 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("故障代码")]
        public string Abscissa { get; set; }

        [ExcelColumn("报警时长")]
        public string Ordinates { get; set; }

    }

    public class BarChart8 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("故障类别")]
        public string Abscissa { get; set; }

        [ExcelColumn("报警时长")]
        public string Ordinates { get; set; }

    }

    public class BarChart9 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("日期")]
        public string Abscissa { get; set; }

        [ExcelColumn("参数异常次数")]
        public string Ordinates { get; set; }

    }

    public class BarChart10 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("产线层级")]
        public string Abscissa { get; set; }

        [ExcelColumn("参数异常次数")]
        public string Ordinates { get; set; }

    }
    public class BarChart11 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("日期")]
        public string Abscissa { get; set; }

        [ExcelColumn("参数异常时长(小时)")]
        public string Ordinates { get; set; }

    }
    public class BarChart12 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("产线层级")]
        public string Abscissa { get; set; }

        [ExcelColumn("参数异常时长(小时)")]
        public string Ordinates { get; set; }

    }


    public class BarChart13 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("日期")]
        public string Abscissa { get; set; }

        [ExcelColumn("持续时长")]
        public string Ordinates { get; set; }

    }

    public class BarChart14 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("产线层级")]
        public string Abscissa { get; set; }

        [ExcelColumn("持续时长")]
        public string Ordinates { get; set; }

    }

    public class BarChart15 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("工作模式")]
        public string Abscissa { get; set; }

        [ExcelColumn("持续时长")]
        public string Ordinates { get; set; }

    }

    public class BarChartcl : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }

        [ExcelColumn("横坐标次数")]
        public string Abscissa { get; set; }

        [ExcelColumn("纵坐标次数")]
        public string Ordinates { get; set; }
        [ExcelColumn("横坐标时长")]
        public string AbscissaTime { get; set; }

        [ExcelColumn("纵坐标时长")]
        public string OrdinatesTime { get; set; }

    }

    public class BarChartcl1 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("日期")]
        public string Abscissa { get; set; }

        [ExcelColumn("报警次数")]
        public string Ordinates { get; set; }

        [ExcelColumn("日期")]
        public string AbscissaTime { get; set; }

        [ExcelColumn("报警时长")]
        public string OrdinatesTime { get; set; }

    }

    public class BarChartcl2 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("产线层级")]
        public string Abscissa { get; set; }

        [ExcelColumn("报警次数")]
        public string Ordinates { get; set; }

        [ExcelColumn("产线层级")]
        public string AbscissaTime { get; set; }

        [ExcelColumn("报警时长")]
        public string OrdinatesTime { get; set; }

    }

    public class BarChartcl3 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("故障代码")]
        public string Abscissa { get; set; }

        [ExcelColumn("报警次数")]
        public string Ordinates { get; set; }

        [ExcelColumn("故障代码")]
        public string AbscissaTime { get; set; }

        [ExcelColumn("报警时长")]
        public string OrdinatesTime { get; set; }

    }

    public class BarChartcl4 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("故障类别")]
        public string Abscissa { get; set; }

        [ExcelColumn("报警次数")]
        public string Ordinates { get; set; }

        [ExcelColumn("故障类别")]
        public string AbscissaTime { get; set; }

        [ExcelColumn("报警时长")]
        public string OrdinatesTime { get; set; }

    }

    public class AlarmCode : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        
        [ExcelColumn("设备位置")]
        public string machine_location { get; set; }
        [ExcelColumn("设备编号")]
        public string machine_code { get; set; }
        [ExcelColumn("设备类型")]
        public string machine_type { get; set; }
        [ExcelColumn("报警代码")]
        public string fault_code { get; set; }
        [ExcelColumn("报警内容")]
        public string error_msg { get; set; }
        [ExcelColumn("故障类型")]
        public string fault_content { get; set; }
        [ExcelColumn("故障原因")]
        public string fault_reason { get; set; }
        [ExcelColumn("解决办法")]
        public string fault_solution { get; set; }
        [ExcelColumn("报警次数")]
        public int alarm_times { get; set; }
       
        [ExcelColumn("故障类报警")]
        public int isFault { get; set; }
        [ExcelColumn("标定日期")]
        public string markTime { get; set; }
        [ExcelColumn("备注")]
        public string remark { get; set; }

    }

    public class MachineAlarm : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("设备位置")]
        public string MachineCode { get; set; }
        [ExcelColumn("报警代码")]
        public string Code { get; set; }
        [ExcelColumn("报警内容")]
        public string Message { get; set; }
        [ExcelColumn("故障类型")]
        public string FaultContent { get; set; }
        [ExcelColumn("故障原因")]
        public string FaultReason { get; set; }
        [ExcelColumn("解决办法")]
        public string FaultSolution { get; set; }
        [ExcelColumn("开始时间")]
        public string StartTime { get; set; }
        [ExcelColumn("结束时间")]
        public string EndTime { get; set; }
        [ExcelColumn("持续时间")]
        public string Duration { get; set; }
        [ExcelColumn("当前状态")]
        public string Active { get; set; }
        [ExcelColumn("故障类报警")]
        public string IsFault { get; set; }
    }

    
    public class Alarm : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("设备位置")]
        public string stas { get; set; }
        [ExcelColumn("参数异常类型")]
        public string exception_type { get; set; }
        [ExcelColumn("开始时间")]
        public string start_time { get; set; }
        [ExcelColumn("结束时间")]
        public string end_time { get; set; }
        [ExcelColumn("持续时长")]
        public string time_span { get; set; }
    }

    public class DateTemplate : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("设备")]
        public string title { get; set; }
        [ExcelColumn("1号")]
        public string productivity1 { get; set; }
        [ExcelColumn("2号")]
        public string productivity2 { get; set; }
        [ExcelColumn("3号")]
        public string productivity3 { get; set; }
        [ExcelColumn("4号")]
        public string productivity4 { get; set; }
        [ExcelColumn("5号")]
        public string productivity5 { get; set; }
        [ExcelColumn("6号")]
        public string productivity6 { get; set; }
        [ExcelColumn("7号")]
        public string productivity7 { get; set; }
        [ExcelColumn("8号")]
        public string productivity8 { get; set; }
        [ExcelColumn("9号")]
        public string productivity9 { get; set; }
        [ExcelColumn("10号")]
        public string productivity10 { get; set; }
        [ExcelColumn("11号")]
        public string productivity11 { get; set; }
        [ExcelColumn("12号")]
        public string productivity12 { get; set; }
        [ExcelColumn("13号")]
        public string productivity13 { get; set; }
        [ExcelColumn("14号")]
        public string productivity14 { get; set; }
        [ExcelColumn("15号")]
        public string productivity15 { get; set; }
        [ExcelColumn("16号")]
        public string productivity16 { get; set; }
        [ExcelColumn("17号")]
        public string productivity17 { get; set; }
        [ExcelColumn("18号")]
        public string productivity18 { get; set; }
        [ExcelColumn("19号")]
        public string productivity19 { get; set; }
        [ExcelColumn("20号")]
        public string productivity20 { get; set; }
        [ExcelColumn("21号")]
        public string productivity21 { get; set; }
        [ExcelColumn("22号")]
        public string productivity22 { get; set; }
        [ExcelColumn("23号")]
        public string productivity23 { get; set; }
        [ExcelColumn("24号")]
        public string productivity24 { get; set; }
        [ExcelColumn("25号")]
        public string productivity25 { get; set; }
        [ExcelColumn("26号")]
        public string productivity26 { get; set; }
        [ExcelColumn("27号")]
        public string productivity27 { get; set; }
        [ExcelColumn("28号")]
        public string productivity28 { get; set; }
        
    }

    public class DateTemplate2 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("设备")]
        public string title { get; set; }
        [ExcelColumn("1号")]
        public string productivity1 { get; set; }
        [ExcelColumn("2号")]
        public string productivity2 { get; set; }
        [ExcelColumn("3号")]
        public string productivity3 { get; set; }
        [ExcelColumn("4号")]
        public string productivity4 { get; set; }
        [ExcelColumn("5号")]
        public string productivity5 { get; set; }
        [ExcelColumn("6号")]
        public string productivity6 { get; set; }
        [ExcelColumn("7号")]
        public string productivity7 { get; set; }
        [ExcelColumn("8号")]
        public string productivity8 { get; set; }
        [ExcelColumn("9号")]
        public string productivity9 { get; set; }
        [ExcelColumn("10号")]
        public string productivity10 { get; set; }
        [ExcelColumn("11号")]
        public string productivity11 { get; set; }
        [ExcelColumn("12号")]
        public string productivity12 { get; set; }
        [ExcelColumn("13号")]
        public string productivity13 { get; set; }
        [ExcelColumn("14号")]
        public string productivity14 { get; set; }
        [ExcelColumn("15号")]
        public string productivity15 { get; set; }
        [ExcelColumn("16号")]
        public string productivity16 { get; set; }
        [ExcelColumn("17号")]
        public string productivity17 { get; set; }
        [ExcelColumn("18号")]
        public string productivity18 { get; set; }
        [ExcelColumn("19号")]
        public string productivity19 { get; set; }
        [ExcelColumn("20号")]
        public string productivity20 { get; set; }
        [ExcelColumn("21号")]
        public string productivity21 { get; set; }
        [ExcelColumn("22号")]
        public string productivity22 { get; set; }
        [ExcelColumn("23号")]
        public string productivity23 { get; set; }
        [ExcelColumn("24号")]
        public string productivity24 { get; set; }
        [ExcelColumn("25号")]
        public string productivity25 { get; set; }
        [ExcelColumn("26号")]
        public string productivity26 { get; set; }
        [ExcelColumn("27号")]
        public string productivity27 { get; set; }
        [ExcelColumn("28号")]
        public string productivity28 { get; set; }
        [ExcelColumn("29号")]
        public string productivity29 { get; set; }
    }
    public class DateTemplate3 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("设备")]
        public string title { get; set; }
        [ExcelColumn("1号")]
        public string productivity1 { get; set; }
        [ExcelColumn("2号")]
        public string productivity2 { get; set; }
        [ExcelColumn("3号")]
        public string productivity3 { get; set; }
        [ExcelColumn("4号")]
        public string productivity4 { get; set; }
        [ExcelColumn("5号")]
        public string productivity5 { get; set; }
        [ExcelColumn("6号")]
        public string productivity6 { get; set; }
        [ExcelColumn("7号")]
        public string productivity7 { get; set; }
        [ExcelColumn("8号")]
        public string productivity8 { get; set; }
        [ExcelColumn("9号")]
        public string productivity9 { get; set; }
        [ExcelColumn("10号")]
        public string productivity10 { get; set; }
        [ExcelColumn("11号")]
        public string productivity11 { get; set; }
        [ExcelColumn("12号")]
        public string productivity12 { get; set; }
        [ExcelColumn("13号")]
        public string productivity13 { get; set; }
        [ExcelColumn("14号")]
        public string productivity14 { get; set; }
        [ExcelColumn("15号")]
        public string productivity15 { get; set; }
        [ExcelColumn("16号")]
        public string productivity16 { get; set; }
        [ExcelColumn("17号")]
        public string productivity17 { get; set; }
        [ExcelColumn("18号")]
        public string productivity18 { get; set; }
        [ExcelColumn("19号")]
        public string productivity19 { get; set; }
        [ExcelColumn("20号")]
        public string productivity20 { get; set; }
        [ExcelColumn("21号")]
        public string productivity21 { get; set; }
        [ExcelColumn("22号")]
        public string productivity22 { get; set; }
        [ExcelColumn("23号")]
        public string productivity23 { get; set; }
        [ExcelColumn("24号")]
        public string productivity24 { get; set; }
        [ExcelColumn("25号")]
        public string productivity25 { get; set; }
        [ExcelColumn("26号")]
        public string productivity26 { get; set; }
        [ExcelColumn("27号")]
        public string productivity27 { get; set; }
        [ExcelColumn("28号")]
        public string productivity28 { get; set; }
        [ExcelColumn("29号")]
        public string productivity29 { get; set; }
        [ExcelColumn("30号")]
        public string productivity30 { get; set; }
    }

    public class DateTemplate4 : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        public int No { get; set; }
        [ExcelColumn("设备")]
        public string title { get; set; }
        [ExcelColumn("1号")]
        public string productivity1 { get; set; }
        [ExcelColumn("2号")]
        public string productivity2 { get; set; }
        [ExcelColumn("3号")]
        public string productivity3 { get; set; }
        [ExcelColumn("4号")]
        public string productivity4 { get; set; }
        [ExcelColumn("5号")]
        public string productivity5 { get; set; }
        [ExcelColumn("6号")]
        public string productivity6 { get; set; }
        [ExcelColumn("7号")]
        public string productivity7 { get; set; }
        [ExcelColumn("8号")]
        public string productivity8 { get; set; }
        [ExcelColumn("9号")]
        public string productivity9 { get; set; }
        [ExcelColumn("10号")]
        public string productivity10 { get; set; }
        [ExcelColumn("11号")]
        public string productivity11 { get; set; }
        [ExcelColumn("12号")]
        public string productivity12 { get; set; }
        [ExcelColumn("13号")]
        public string productivity13 { get; set; }
        [ExcelColumn("14号")]
        public string productivity14 { get; set; }
        [ExcelColumn("15号")]
        public string productivity15 { get; set; }
        [ExcelColumn("16号")]
        public string productivity16 { get; set; }
        [ExcelColumn("17号")]
        public string productivity17 { get; set; }
        [ExcelColumn("18号")]
        public string productivity18 { get; set; }
        [ExcelColumn("19号")]
        public string productivity19 { get; set; }
        [ExcelColumn("20号")]
        public string productivity20 { get; set; }
        [ExcelColumn("21号")]
        public string productivity21 { get; set; }
        [ExcelColumn("22号")]
        public string productivity22 { get; set; }
        [ExcelColumn("23号")]
        public string productivity23 { get; set; }
        [ExcelColumn("24号")]
        public string productivity24 { get; set; }
        [ExcelColumn("25号")]
        public string productivity25 { get; set; }
        [ExcelColumn("26号")]
        public string productivity26 { get; set; }
        [ExcelColumn("27号")]
        public string productivity27 { get; set; }
        [ExcelColumn("28号")]
        public string productivity28 { get; set; }
        [ExcelColumn("29号")]
        public string productivity29 { get; set; }
        [ExcelColumn("30号")]
        public string productivity30 { get; set; }
        [ExcelColumn("31号")]
        public string productivity31{ get; set; }
    }
    public class AchievementList : ImportBase
    {
        [ExcelColumn("序号")]
        [DonnetValidate]
        [DonnetCreate]
        public int No { get; set; }
        [ExcelColumn("工号")]
        public string work_code { get; set; }
        [ExcelColumn("姓名")]
        public string name { get; set; }
        [ExcelColumn("班次")]
        public string shift { get; set; }
        [ExcelColumn("部门")]
        public string section { get; set; }
        [ExcelColumn("岗位")]
        public string usergroup { get; set; }
        [ExcelColumn("出勤工时(H)")]
        public string workhour { get; set; }
        [ExcelColumn("有效产出工时")]
        public string affecthour { get; set; }
        [ExcelColumn("平均操作设备数")]
        public string avemachine { get; set; }
        [ExcelColumn("作业效率")]
        public string workeffect { get; set; }

    }
}
