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

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

        /// <summary>
        /// 列表
        /// </summary>
        public List<Crop_tableData> tableData { get; set; }
    }
    public class Crop_EcharData
    {
        public Crop_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 Crop_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; }
    }
}
