using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Siger.Middlelayer.Repository.Data.Tpm;

namespace Siger.ApiTPM.Result
{
    public class RepairDataTrendMTTRResult: TpmResultBase
    {
        public IList<string> x { get; set; }

        public IList<double> y1 { get; set; }

        public IList<RepairListForMTTR> y2 { get; set; }

        public RepairDataTrendMTTRResult()
        {
            x = new List<string>();
            y1 = new List<double>();
            y2 = new List<RepairListForMTTR>();
        }
    }

    public class ResponseWorkLoad : TpmResultBase
    {
        public List<string> dataY { get; set; }
        public List<List<double>> dataXList { get; set; }
        public ResponseWorkLoad()
        {
            dataY = new List<string>();
            dataXList = new List<List<double>>();
        }
        public double avg { get; set; }
    }

    public class ResponseWorkLoadEx
    {
        public string name { get; set; }
        public double response { get; set; }
        public double sign { get; set; }
        public double repair { get; set; }
        public double complete { get; set; }
    }
}
