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

namespace Siger.Middlelayer.TpmRepository.Response
{
    public class ResponseGetErrorSummary
    {
        public string title { get; set; }

        public double error_hours { get; set; }

        public double error_count { get; set; }

        public double average_response_hours { get; set; }

        public double average_handle_hours { get; set; }
        public double average_total { get; set; }

        public double error_percent { get; set; }
    }

    public class ResponseErrorSummary
    {
        public ResponseErrorSummary()
        {
            if (table == null)
            {
                table = new List<ResponseGetErrorSummary>();
            }
            if (dataX == null)
            {
                dataX = new List<string>();
            }
            if (dataYList == null)
            {
                dataYList = new List<List<double>>();
            }
            if (dataY2 == null)
            {
                dataY2 = new List<double>();
            }
        }
        public List<ResponseGetErrorSummary> table { get; set; }
        public List<string> dataX { get; set; }
        public List<List<double>> dataYList { get; set; }
        public List<double> dataY2 { get; set; }
        public double max { get; set; }
    }
}
