using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Siger.ApiDashboard.Tasks.Model
{
    public class ProductivityResult
    {
        public ProductivityResult()
        {
            echartData = new List<Productivity_EcharData>();
            tableData = new List<Productivity_tableData>();
        }
        /// <summary>
        /// /// UI 画图主键
        /// </summary>
        public string type { get; set; } = "Productivity";
        public string title { get; set; }
        /// <summary>
        /// Echart图标
        /// </summary>
        public List<Productivity_EcharData> echartData { get; set; }

        /// <summary>
        /// 列表
        /// </summary>
        public List<Productivity_tableData> tableData { get; set; }
    }
    public class Productivity_EcharData
    {
        public Productivity_EcharData()
        {
            xdata = new List<string>();
            ydata = new List<double>();
        }
        public double markingline { get; set; }
        public List<string> xdata { get; set; }
        public List<double> ydata { get; set; }

    }
    public class Productivity_tableData
    {
        public string datetime { get; set; }
        public double num1 { get; set; }
        public double num2 { get; set; }
        public double hour1 { get; set; }
        public double hour2 { get; set; }
    }
}
