using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XdCxRhDw.Dto
{
  /// 
  /// 检测计算DTO
  /// 
    public class DetectDto
    {
        /// 
        /// 调用Upload接口上传文件后返回的文件名
        /// 
        public string file1 { get; set; }
        /// 
        /// 检测类型(DAMA=1,IBS=2,能量检测=3) 
        /// 
        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
    }
}