using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Siger.Middlelayer.ToolRepository.Response
{
    public class ResponseEchartLoadHistory
    {
        public int ret { get; set; }
        public int huandaocount { get; set; }
        public object data { get; set; }
        public List<sxms> amount { get; set; }

        //未平滑处理数据
        public object data_raw { get; set; }
    }
    public class EchartLoadHistory
    {
        [DataMember]
        public List<object> xtime { get; set; }
        [DataMember]
        public List<List<object>> feature { get; set; }
        [DataMember]
        public List<List<object>> feature_in { get; set; }
        [DataMember]
        public List<List<object>> feature_out { get; set; }
        [DataMember]
        public List<object> outpoint { get; set; }
        [DataMember]
        public List<object> inpoint { get; set; }
        [DataMember]
        public List<List<object>> uLine { get; set; }
        [DataMember]
        public List<List<object>> average { get; set; }
        [DataMember]
        public List<object> feature_last { get; set; }

        [DataMember]
        public List<object> xtimemax { get; set; }
        [DataMember]
        public List<object> featuremax { get; set; }
        [DataMember]
        public List<string> outpointmax { get; set; }
        [DataMember]
        public List<string> inpointmax { get; set; }
        [DataMember]
        public List<object> uLinemax { get; set; }
        [DataMember]
        public List<object> averagemax { get; set; }
        [DataMember]
        public List<object> featuremax_last { get; set; }
        [DataMember]
        public List<object> huandao { get; set; }
        [DataMember]
        public List<object> huandaomax { get; set; }
        [DataMember]
        public List<List<object>> huandaoreason { get; set; }
    }
    public class sxms
    {
        public string name { get; set; }
        public int value = 0;
        public string change_reason { get; set; }
    }
}
