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

namespace Siger.Middlelayer.DashboardRepository.Response
{
    public class ResponseFactoryChanelProduce
    {
        public ResponseFactoryChanelProduce()
        {
            produces = new List<ResponseChanelProduce>();
            oees = new List<ResponseChanelOee>();
        }
        public int staff { get; set; }
        public int days { get; set; }
        public double oeeNum { get; set; }
        public List<ResponseChanelProduce> produces { get; set; }
        public List<ResponseChanelOee> oees { get; set; }
        public List<double> value { get; set; }
        public double totalProduce { get; set; }

    }
    public class ResponseChanelProduce
    {
        /// <summary>
        /// 通道名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 实际产值
        /// </summary>
        public double lightNum { get; set; }
        /// <summary>
        /// 理论产值
        /// </summary>
        public double grayNum { get; set; }
    }
    public class ResponseChanelOee
    {
       public string name { get; set; }
       public double oee { get; set; }
        public double max { get; set; } = 100d;
        /// <summary>
        /// 分母
        /// </summary>
        public int denominator { get; set; }
    }
    public class ResponseLogoInfo
    {
        public string chanelName { get; set; }
        public string pic { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string productName { get; set; }
        /// <summary>
        /// 产品型号
        /// </summary>
        public string productModel { get; set; }
        /// <summary>
        /// 计划产量
        /// </summary>
        public string productPlan { get; set; }
        /// <summary>
        /// 实际产量
        /// </summary>
        public string productActual { get; set; }
    }
}
