using System;
using System.Collections.Generic;

namespace Siger.ApiCommon.Result
{
    public class EchartDataObjectResult : OtherObjectResult
    {
        public int ret { get; set; }

        public Enum msg { get; set; }

        public RealCharts data { get; set; }

        public int machine_id { get; set; }

        public string machine_name { get; set; }

        public string program_no { get; set; }

        public string program_status { get; set; }

        public string cycle_time { get; set; }

        public string id { get; set; }

        public string toolno { get; set; }
    }

    public class RealCharts
    {
        public List<List<object>> ll { get; set; }

        public List<List<object>> ul { get; set; }

        public List<List<object>> act { get; set; }


        public List<List<object>> mean { get; set; }

        public List<List<object>> ll_ult { get; set; }

        public List<List<object>> ul_ult { get; set; }

        public RealCharts()
        {
            ll = new List<List<object>>();
            ul = new List<List<object>>();

            act = new List<List<object>>();
            //20191217 Extremum control line has been removed
            //ll_ult = new List<List<object>>();
            //ul_ult = new List<List<object>>();
            mean = new List<List<object>>();

        }
    }
}
