using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Siger.Middlelayer.CncRepository.Response;
using Siger.Middlelayer.Share.Models;

namespace Siger.ApiDashboard.Result
{
    public class GetOutPutEfficiencyResult
    {
        public string shift { get; set; } = "";

        public double total_efficiency { get; set; } = 0;

        public double idle_loss { get; set; } = 0;

        public double debug_loss { get; set; } = 0;

        public double fault_loss { get; set; } = 0;

        public double shutdown_loss { get; set; } = 0;

        //设备运转效率
        public ProductionLine4 machine_run { get; set; }

        //切片
        public List<MachineCanvasDataInfo> slice { get; set; }

        public GetOutPutEfficiencyResult()
        {
            slice = new List<MachineCanvasDataInfo>();
            machine_run = new ProductionLine4();
        }
    }
}
