using Siger.Middlelayer.QmsRepository.Response;
using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.DashboardRepository.Response
{
    public class ResponseAndonInfo
    {
        public ResponseAndonInfo()
        {
        }
        public string expection { get; set; }
        public string machine { get; set; }
        public int machine_id { get; set; }
        public string status { get; set; }
        public int status_value { get; set; }
        public int count { get; set; }
        public long cost { get; set; }

    }

    public class ResponseAndonInfoForFactory
    {
        public string expection { get; set; }
        public int count { get; set; }
        public long cost { get; set; }

    }
    public class ResponseAndonHandleCost
    {
        public string expection { get; set; }
        public int count { get; set; }
        public long cost { get; set; }
        public long handle { get; set; }
        public string group { get; set; }
        public bool show { get; set; } = false;
    }

    public class ResponseAndonCount
    {
        public int today_count { get; set; }
        public int handle_count { get; set; }
        public int unhandle_count { get; set; }
        public int handling_count { get; set; }

    }

    public class ResponseAndonExpectionInfo
    {
        public string color { get; set; } = "#01B1FF";
        public string expection_name { get; set; }
        public double time { get; set; }
        public int expection_id { get; set; }
        public long start { get; set; }
        public long end { get; set; }
    }

    public class ResponseChannelData
    {
        public string name { get; set; }
        public int current { get; set; }
        public int handle { get; set; }
        public int accept { get; set; }
        public int wait { get; set; }
        public bool show { get; set; } = false;
    }
    public class ResponseChannelDataForMobile
    {
        public int id { get; set; }
        public int handling { get; set; }
        public int unhandle { get; set; }
        public int wait { get; set; }
        public string expection { get; set; }
        public string title { get; set; }
        public int isShutDown { get; set; } = 0;
    }
    public class ResponseAndonMachinForChannel
    {
        public int status { get; set; }
        public int left { get; set; }
        public int top { get; set; }
        public long timeRang { get; set; }
        public string title { get; set; }
        public string type { get; set; }
    }

    public class ResponseAdnonSliceDetail
    {
        public List<ResponseAndonDetail> AndonDetail { get; set; }
        public List<ResponseReworkData> AndonDetailEx { get; set; }

    }
}
