using System.Collections.Generic;

namespace Siger.Middlelayer.AccRepository.Response
{
    public class ResponeReportWorkTotal
    {
        public string Order { get; set; }
        public int OrderCount { get; set; }
        public string WrokCode { get; set; }
        public string ProductId { get; set; }
        public string ProductName { get; set; }
        public string ProductType { get; set; }
        public List<PositionWork> Positions { get; set; }
        
    }
    public class PositionWork
    {
        public int MachineId { get; set; }
        /// <summary>
        /// 固定资产编号
        /// </summary>
        public string MachineCode { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string MachineName { get; set; }
        public int Count { get; set; }
    }

    public class ResponeReportWorkTotalDtl
    {
        public string Order { get; set; }
        public string WrokCode { get; set; }
        public string ProductId { get; set; }
        public string ProductName { get; set; }
        public string ProductType { get; set; }
        public string Report { get; set; }
        public string Station { get; set; }
        public string Position { get; set; }
        public string Basket { get; set; }
        public int OkCount { get; set; }
        public int NokCount { get; set; }
        public int NokCount2 { get; set; }
        public string User { get; set; }
        public string Time { get; set; }
    }
    public class StationWorkDtl
    {
        public int DateType { get; set; }

        public string WorkCode { get; set; }

        public string StationDesc { get; set; }
        public decimal Rate { get; set; }
        public int OrderCount { get; set; }
        public string Date { get; set; }

    }
    public class StationWorkDtlRate
    {
        public int DateType { get; set; }
        public string Line { get; set; }
        public int OkCount { get; set; }
        public int NgCount { get; set; }
        public string Date { get; set; }
    }
    public class StationChek
    {
        public int DateType { get; set; }
        public string Position { get; set; }
        public int OkCount { get; set; }
        public int NgCount { get; set; }
        public string Date { get; set; }
    }
    public class StationChekWorkDtl
    {
        public int DateType { get; set; }
        public string Position { get; set; }
        public string MachineTitle { get; set; }
        public string MachineCode { get; set; }
        public int TotalCount { get; set; }
        public int OkCount { get; set; }
        public int NgCount { get; set; }
        public string Date { get; set; }
    }
    public class MachineStateWorkDtl
    {
        public string MachineCode { get; set; }
        public int MachineId { get; set; }
        public string Status { get; set; }
        public string WorkCode { get; set; }
        public string ProductId { get; set; }
        public string ProductName { get; set; }
        public string ProductType { get; set; }
        public int PlanCount { get; set; }
        public int TotalCount { get; set; }
        public int CurrCount { get; set; }
    }

    public class ReportInfoDetail
    {
        /// <summary>
        /// 工单号
        /// </summary>
        public string WorkCode { get; set; }

        public string Station { get; set; }

        public string Position { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }

        public int OrderCount { get; set; }

        public int OkCount { get; set; }

        public int NgCount { get; set; }

        public int NgCount2 { get; set; }

        public int Type { get; set; }
        public string TypeDesc { get; set; }

        public int Report { get; set; }
        public string ReportDesc { get; set; }
    }
}
