using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XdCxRhDw.Dto { /// /// 检测计算DTO /// public class DetectDto { /// /// 调用Upload接口上传文件后返回的文件名 /// [DefaultValue("hello word!")] public string file1 { get; set; } /// /// 检测类型 /// public DmcType dmcType { get; set; } /// /// 采样率 Hz /// public double fsHz { get; set; } } /// /// 检测类型 /// public enum DmcType { /// /// DAMA检测 /// [Display(Name = "DAMA检测")] DAMA = 1, /// /// IBS检测 /// [Display(Name = "IBS检测")] IBS = 2, /// /// 能量检测 /// [Display(Name = "能量检测")] Ky5758 = 3 } }