using System;
using System.Collections.Generic;

namespace Siger.Middlelayer.DncRepository.Response
{
    //程序上传至nc次数 时间范围
    public class ResponsePgStatisticlists
    {
        public List<PgStatisticlistsData> arr;
        public PgStatisticlistsEchart data;
        public ResponsePgStatisticlists()
        {
            arr = new List<PgStatisticlistsData>();
            data = new PgStatisticlistsEchart();
            data.datetime = new List<string>();
            data.num = new List<int>();
        }
    }
    public class PgStatisticlistsData
    {
        public string datetime { get; set; }
        public string region { get; set; }
        public int num { get; set; }
    }
    public class PgStatisticlistsEchart
    {
        public List<string> datetime { get; set; }
        public List<int> num { get; set; }
    }

    //程序上传至nc次数 获取产线层级
    public class ResponseListByLevels
    {
        public List<arr> arr { get; set; }
        public data data { get; set; }
        public ResponseListByLevels()
        {
            arr = new List<arr>();
            data = new data();
        }
    }
    public class arr:IComparable<arr>
    {
        public string title { get; set; }
        public int num { get; set; }

        public int CompareTo(arr obj)
        {
            return num.CompareTo(obj.num);
        }
    }
    public class data
    {
        public List<string> title { get; set; }
        public List<int> num1 { get; set; }
        public List<double> num2 { get; set; }
        public data()
        {
            title = new List<string>();
            num1 = new List<int>();
            num2 = new List<double>();
        }
    }
}
