using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.DashboardRepository.Response
{
    public class ResponseOutputHourlist
    {
        public ResponseOutputHourlist()
        {
            data = new List<ResponseOutputHour>();
            total = new ResponseOutputHourBottom();
            oee = 0d;
        }
        /// <summary>
        /// 员工总数
        /// </summary>
        public int emplCount { get; set; }
        /// <summary>
        /// 合格率
        /// </summary>
        public int passRated { get; set; }
        /// <summary>
        /// 综合OEE
        /// </summary>
        public double oee { get; set; }
        public List<ResponseOutputHour> data { get; set; }
        public ResponseOutputHourBottom total { get; set; }
    }
    public class ResponseOutputHour
    {
        public int hour { get; set; }
        /// <summary>
        /// 产品
        /// </summary>
        public string product { get; set; }
        /// <summary>
        /// 目标 
        /// </summary>
        public double target { get; set; }
        /// <summary>
        /// 生产  实际值
        /// </summary>
        public double produce { get; set; }
        /// <summary>
        /// 差额
        /// </summary>
        public double balance { get; set; }

        public int hourTimeStamp { get; set; }
    }
    public class ResponseOutputHourBottom
    {
        public double waste { get; set; }
        public double rework { get; set; }
        public double targetTotal { get; set; }
        public double produceTotal { get; set; }
        public double balanceTotal { get; set; }
        public string productPlan { get; set; }
    }
    public class ResponseAndoProductType
    {
        /// <summary>
        /// 换型时间 /小时
        /// </summary>
        public int hour { get; set; }
        /// <summary>
        /// 换型产品Code
        /// </summary>
        public string productCode { get; set; }
        /// <summary>
        /// 换型产品名称
        /// </summary>
        public string productName { get; set; }
        public DateTime datetime { get; set; }
    }
}
