using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DW5S.DTO
{
///
/// 绘图模型
///
public class DrawDto
{
///
/// 图片名称(最好带上绘制的时间,避免重复)
///
public string ImageName { get; set; }
///
/// 坐标系X的所有值
///
public object[] PointX { get; set; }
///
/// X轴值类型
///
public DrawXType XType { get; set; }
///
/// 坐标系Y的所有值
///
public double[] PointY { get; set; }
}
///
/// 绘图X轴类型
///
public enum DrawXType
{
///
/// 数字类型
///
[Display(Name = "数字类型")]
Number,
///
/// 时间类型
///
[Display(Name = "时间类型")]
DateTime,
///
/// 字符串类型
///
[Display(Name = "字符串类型")]
String,
}
}